﻿using System;
using Aulac.Global.Enums; using Aulac.Global.Data; using Aulac.Global.Common; using Aulac.Global.Xml;

namespace Aulac.Rsc.Ems.Tags
{
   
    public class tagValueConst
    {
        public class constString
        {
            public class ValueMsgBox
            {
                /// <summary>
                /// Title cua Msg Error
                /// </summary>
                public const string TextCaptionErr = "AulacSoft";

                /// <summary>
                /// Title cua Msg Warring
                /// </summary>
                public const string TextCaptionWar = "AulacSoft";
            }
         /// <summary>
            /// Ten So Y Te
            /// </summary>
            public const string OfficeName = "SỞ Y TẾ QUẢNG TRỊ";
            /// <summary>
            /// Ten Benh vien
            /// </summary>
            public const string HspName = "BỆNH VIỆN KHU VỰC TRIỆU HẢI";
        }

    }
   
    #region GeneralTag
    /// <summary>
    /// Thẻ chung
    /// </summary>
    public class tagGeneral
    {

        /// <summary>
        /// Tu ngay chung tu
        /// </summary>
        public const string VchFromDate = "VchFromDate";

        /// <summary>
        /// Den ngay chung tu
        /// </summary>
        public const string VchToDate = "VchToDate";

        /// <summary>
        /// Xac dinh tim chinh xac khong
        /// </summary>
        public const string IsFindExactly = "IsFindExactly";

        /// <summary>
        /// Xac dinh tim kiem theo ngay
        /// </summary>
        public const string IsFindByDate = "IsFindByDate";

        /// <summary>
        /// Xac tim co dau khong
        /// </summary>
        public const string IsFindMinusSign = "IsFindMinusSign";

    
  
        public const string VchTypeID = "VchTypeID";
        public const string VchNo = "VchNo";
        public const string VchID = "VchID";
        public const string VchDate = "VchDate";
        public const string VchOrgID = "VchOrgID";
        public const string VchOrgTypeID = "VchOrgTypeID";

        public const string VchName = "VchName";
        public const string IsActive = tagCtrl.IsActive;
        public const string OfficeName = "OfficeName";
        public const string HspName = "HspName";
    }
        
    #endregion

    #region Voucher
    public class tagVch
    {
        #region BuyItem
        public class BuyItem
        {
            public const string VchCapAssID = "VchCapAssID";
            public const string VchCapAssName = "VchCapAssName";
            public const string Specification = "Specification";
            public const string Unit = "Unit";
            public const string Quantity = "Quantity";
            public const string UnitPrice = "UnitPrice";
            public const string AmtLineInExc = "AmtLineInExc";
            public const string ItemLine = "ItemLine";
            public const string VAT = "VAT";
            public const string AmtTaxLineInExc = "AmtTaxLineInExc";
            public const string AmtTtlLineInExc = "AmtTtlLineInExc";
    

        }
        #endregion
        #region VchBuyList
        public class VchBuyList
        {
            public const string VchBuyPrkID = "VchBuyPrkID";
            public const string VchBuyID = "VchBuyID";
            public const string VchBuyName = "VchBuyName";
            public const string VchDateFrom = "VchDateFrom";
            public const string VchDateTo = "VchDateTo";
         }
        #endregion
        /// <summary>
        /// 
        /// </summary>
        #region Rpt
        public class Rpt
        {
            public const string VchDateFrom = "VchDateFrom";
            public const string VchDateTo = "VchDateTo";
        }
        #endregion
        
        #region RptList
        public class RptList
        {
            public const string RptGrpID = "RptGrpID";
            
        }
        #endregion
        #region Common
        public class Common
        {
            public const string VchID = "VchID";
            public const string VchTypeID = "VchTypeID";
            public const string VchTypeEnum = "VchTypeEnum";
            public const string VchDate = "VchDate";
            public const string VchNo = "VchNo";
            public const string Note = "Note";
            public const string VchOrgID = "VchOrgID";
            public const string VchOrgTypeID = "VchOrgTypeID";

            public const string ItemLine = "ItemLine";
            public const string NoteLine = "NoteLine";

            public const string VchSign = "VchSign";

            /// <summary>
            /// Ten chung tu
            /// </summary>
            public const string VchName = "VchName";

            public const string DeptPfmPrkID = "DeptPfmPrkID";

            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string StatusReq = "StatusReq";
            public const string IsComplated = "IsComplated";

        }
        #endregion
        #region Inv
        /// <summary>
        /// Loai the kho. Xac dinh thuoc loai phieu ko nao.
        /// Tham chieu toi Enum TagStoreTypes
        /// </summary>

        public class Inv
        {
            public const string LINE = tagCtrl.LINE;
            public const string InvJrnPrkID = "InvJrnPrkID";
            public const string VchOrgID = tagVch.Common.VchOrgID;
            public const string VchID = tagVch.Common.VchID;
            public const string VchTypeID = tagVch.Common.VchTypeID;
            public const string VchOrgTypeID = tagVch.Common.VchOrgTypeID;

            public const string VchDate = tagVch.Common.VchDate;
            public const string VchNo = tagVch.Common.VchNo;
            public const string Note = tagVch.Common.Note;
            public const string PsnInStockPrkID = "PsnInStockPrkID";
            public const string ItemLine = tagVch.Common.ItemLine;
            public const string DateNum = "DateNum";
            public const string StoreID = "StoreID";
            public const string StorePrkID = tagItems.Store.StorePrkID;
            public const string RelsPsnPrkID = "RelsPsnPrkID";
            public const string ItemPrkID = tagItems.Item.ItemPrkID;
            public const string AmtPrimeLineInExc = "AmtPrimeLineInExc";
            public const string ItemGrpID = "ItemGrpID";
            
            public const string IsMngCard = "IsMngCard";
            
            public const string CountryProduct = "CountryProduct";
            
            public const string PriceSellInExc = "PriceSellInExc";

            public const string Quantity = "Quantity";



            /// <summary>
            /// ID che do KCB cung cap dich vu KCB benh
            /// </summary>
            public const string ItemFncStylePrkID = tagItems.Item.ItemFncStylePrkID;
            /// <summary>
            /// ID Che do KCB ap dung cho kho
            /// </summary>
            public const string StoreFncStylePrkID = tagItems.Store.StoreFncStylePrkID;

            /// <summary>
            /// Don gia ton
            /// </summary>
            public const string PrimeCostInExc = "PrimeCostInExc";
            public const string QtyOnhand = "QtyOnhand";
            public const string AmtOnhandInExc = "AmtOnhandInExc";

            public const string NoteLine = tagVch.Common.NoteLine;

            /// <summary>
            ///Field chua Xml nhat ky xuat nhap hang
            /// </summary>
            public const string BackupQty = "BackupQty";

            /// <summary>
            /// Kiem tra co ton am ko
            /// </summary>
            public const string IsCheckQtyLost = "IsCheckQtyLost";
            /// <summary>
            /// ID chung tu xuat kho
            /// </summary>
            public const string VchRelsInvPrkID = "VchRelsInvPrkID";
            /// <summary>
            /// ID chung tu nhap kho
            /// </summary>
            public const string VchRecInvPrkID = "VchRecInvPrkID";
            /// <summary>
            /// ID chung tu chuyen kho noi bo
            /// </summary>
            public const string VchTranInvPrkID = "VchTranInvPrkID";

            /// <summary>
            /// Ki hieu chung tu
            /// </summary>
            public const string VchSign = tagVch.Common.VchSign;
            /// <summary>
            /// Ten chung tu
            /// </summary>
            public const string VchName = tagVch.Common.VchName;

            /// <summary>
            /// Loai the kho
            /// </summary>
            public const string TagStoreTypeID = "TagStoreTypeID";
        
            /// <summary>
            /// Chua thong tin xac dinh mot item co xuat vuot ton khong
            /// </summary>
            public const string OverInstock = "OverInstock";
            public const string TagStoreTypeName = "TagStoreTypeName";

            /// <summary>
            /// Loai doi tac, doi tuong
            /// </summary>
            public const string PartTypeID = "PartTypeID";

            /// <summary>
            /// ID doi tac, doi tuong
            /// </summary>
            public const string PartPrkID = "PartPrkID";

            /// <summary>
            /// Ma doi tac, doi tuong
            /// </summary>
            public const string PartID = "PartID";

            /// <summary>
            /// Ten doi tac, doi tuong
            /// </summary>
            public const string PartName = "PartName";
            public const string PartAddr = "PartAddr";
            public const string PartDelegate = "PartDelegate";

            public const string RelsPsnName = "RelsPsnName";
            public const string RecvPsnName = "RecvPsnName";
            
            /// <summary>
            /// Quan ly kho
            /// </summary>
            public const string PsnInStockName = "PsnInStockName";

            public const string TaxRate = "TaxRate";
            public const string TaxRateH = "TaxRateH";

            public const string IsActive = "IsActive";
            public const string VchTaxNo = "VchTaxNo";
            public const string VchTaxDate = "VchTaxDate";
            public const string TagStore = "TagStore";
            public const string PriceInExc = "PriceInExc";
            public const string AmtLineInExc = "AmtLineInExc";
            public const string PriceSvcInExc = "PriceSvcInExc";
            public const string AmtLineSvcInExc = "AmtLineSvcInExc";
            public const string AmtTaxLineInExc = "AmtTaxLineInExc";
            public const string AmtTtlLineInExc = "AmtTtlLineInExc";
            public const string AmtPrimeCostLineInExc = "AmtPrimeCostLineInExc";
            public const string AmtTtlPrimeCostInExc = "AmtTtlPrimeCostInExc";

            public const string AmtSumInExc = "AmtSumInExc";

            public const string IsItemInStock = "IsItemInStock";
            public const string ExpireDate = "ExpireDate";
            public const string VchDateFrom = "VchDateFrom";
            public const string VchDateTo = "VchDateTo";
            public const string ItemName = tagItems.Item.ItemName;
            public const string ItemID = tagItems.Item.ItemID;
            public const string Unit = tagItems.Item.Unit;
            public const string StoreRecPrkID = "StoreRecPrkID";

            public const string StoreRecName = "StoreRecName";

            public const string StoreRelsPrkID = "StoreRelsPrkID";
            public const string StoreRelsName = "StoreRelsName";

            public const string ObjMngType = "ObjMngType";
            public const string ObjMngPrkID = "ObjMngPrkID";
            public const string RscFncPrkID = "RscFncPrkID";
            /// <summary>
            /// ID nguon quy
            /// </summary>
            public const string RscFundsPrkID = "RscFundsPrkID";
            public const string RscFncID = "RscFncID";
            public const string RscFncName = "RscFncName";
            public const string PriceBuyInExc = "PriceBuyInExc";

            /// <summary>
            /// Loai doi tuong nhan
            /// </summary>
            public const string ObjTypeRecID = "ObjTypeRecID";

            /// <summary>
            /// ID doi tuong nhan
            /// </summary>
            public const string ObjRecPrkID = "ObjRecPrkID";

            /// <summary>
            /// Ma doi tuong nhan
            /// </summary>
            public const string ObjRecID = "ObjRecID";

            /// <summary>
            /// doi tuong nhan
            /// </summary>
            public const string ObjRecName = "ObjRecName";

            /// <summary>
            /// Loai doi tuong giao
            /// </summary>
            public const string ObjTypeRelsID = "ObjTypeRelsID";

            /// <summary>
            /// ID doi tuong giao
            /// </summary>
            public const string ObjRelsPrkID = "ObjRelsPrkID";

            /// <summary>
            /// Ma doi tuong giao
            /// </summary>
            public const string ObjRelsID = "ObjRelsID";

            /// <summary>
            /// doi tuong giao
            /// </summary>
            public const string ObjRelsName = "ObjRelsName";


            /// <summary>
            /// ID Thu kho nhan
            /// </summary>
            public const string PsnInStockRecPrkID = "PsnInStockRecPrkID";

            /// <summary>
            /// Thu kho nhan
            /// </summary>
            public const string PsnInStockRecName = "PsnInStockRecName";

            /// <summary>
            /// ID Thu kho giao
            /// </summary>
            public const string PsnInStockRelPrkID = "PsnInStockRelPrkID";

            /// <summary>
            /// Thu kho giao
            /// </summary>
            public const string PsnInStockRelName = "PsnInStockRelName";


        }
        #endregion
        #region Payment
        /// <summary>
        /// Thanh toan
        /// </summary>
        public class Payment
        {
            public const string VchPmntPrkID = "VchPmntPrkID";
            public const string ItemLine = "ItemLine";
            public const string PntPrkID = tagMdcFiles.Pnt.PntPrkID;
            public const string HspInNum = tagMdcFiles.Pnt.HspInNum;
            public const string ModeTrmtID = "ModeTrmtID";
            public const string VchTaxNo = "VchTaxNo";
            public const string VchTaxDate = "VchTaxDate";
            public const string VchTypeID = "VchTypeID";
            public const string PntStatusPrkID = "PntStatusPrkID";
            public const string  PsnPmntObjTypeID = "PsnPmntObjTypeID";
          
            /// <summary>
            /// Xac dinh loai doi tuong nao. Tham chieu toi Enum ObjTypes
            /// </summary>
            public const string ObjTypeID = "ObjTypeID";

            /// <summary>
            /// Tong tien hoan ung cho BN
            /// </summary>
            public const string AmtTtlTurnBackPntInExc = "AmtTtlTurnBackPntInExc";

            /// <summary>
            /// NGay chung tu
            /// </summary>
            public const string VchDate = "VchDate";
             /// <summary>
            /// So chung tu
            /// </summary>
            public const string VchNo = "VchNo";
            /// <summary>
            /// Ten chung tu.
            /// </summary>
            public const string VchName = "VchName";
            /// <summary>
            /// So luong
            /// </summary>
            public const string Quantity = "Quantity";

            public const string QuantityOld = "QuantityOld";

            /// <summary>
            /// Ton tien
            /// </summary>
            public const string AmtOnhandInExc = "AmtOnhandInExc";
            public const string ItemPrkID = "ItemPrkID";
            public const string PriceSellInExc = "PriceSellInExc";
            public const string NoteLine = "NoteLine";
 
            /// <summary>
            /// Tong cong tien benh nhan khong dong
            /// </summary>
            public const string AmtSumLostInExc = "AmtSumLostInExc";//Số tiền bệnh nhân chưa đóng cho bệnh viện

            /// <summary>
            /// Số tiền còn thừa của bệnh nhân
            /// </summary>
            public const string AmtOnhandOfPnt = "AmtOnhandOfPnt";

            /// <summary>
            /// Sô tiền tạm ứng của bệnh nhân.
            /// </summary>
            public const string AmtRecTmpPntInExc = "AmtRecTmpPntInExc";//Sô tiền tạm ứng của bệnh nhân.

            /// <summary>
            /// Số tiền bệnh nhân đã thanh toán.
            /// </summary>
            public const string AmtPayedPntInExc = "AmtPayedPntInExc";//

        
            /// <summary>
            /// Tien mien giam cho BN
            /// </summary>
            public const string AmtRdcPntInExc = "AmtRdcPntInExc";

  
            /// <summary>
            /// Thanh tien
            /// </summary>
            public const string AmtLineInExc = "AmtLineInExc";
            /// <summary>
            /// Thanh tien bang chu
            /// </summary>
            public const string TextAmtLineInExc = "TextAmtLineInExc";

            /// <summary>
            /// Tong cong vien phi
            /// </summary>
            public const string AmtSumFeeInExc = "AmtSumFeeInExc";//Tổng viện phí

            /// <summary>
            /// Tien thu them cua bn
            /// </summary>
            public const string AmtAddIncomePntInExc = "AmtAddIncomePntInExc";


            /// <summary>
            /// Tien thu theo hoa don chi phi
            /// </summary>
            public const string AmtDirectlyIncomePntInExc = "AmtDirectlyIncomePntInExc";
            /// <summary>
            /// Tien hoan tra lai cho BN
            /// </summary>
            public const string AmtGiveBackPntInExc = "AmtGiveBackPntInExc";
          
            public const string AmtPntBillInExc = "AmtPntBillInExc";

            /// <summary>
            /// Tong tien bn phai thanh toan
            /// </summary>
            public const string AmtTtlToPayPntInExc = "AmtTtlToPayPntInExc";

            /// <summary>
            /// Tong tien KCb theo ngan sach BN phai thanh toan
            /// </summary>
            public const string AmtTtlToPayNsPntInExc = "AmtTtlToPayNsPntInExc";

            /// <summary>
            /// Tong tien Kcb dich Bn phai thanh toan
            /// </summary>
            public const string AmtTtlToPaySvcPntInExc = "AmtTtlToPaySvcPntInExc";

            /// <summary>
            /// Tong tien Kcb Bhty chi tra cho BN
            /// </summary>
            public const string AmtTtlToPayBhytPntInExc = "AmtTtlToPayBhytPntInExc";

            /// <summary>
            /// Tong tien du an, chuong trinh, tai trợ chi tra cho BN
            /// </summary>
            public const string AmtTtlToPayDaPntInExc = "AmtTtlToPayDaPntInExc";

            /// <summary>
            /// Doanh thu Kcb
            /// </summary>
            public const string AmtTltRvnPntInExc = "AmtTltRvnPntInExc";

            /// <summary>
            /// So tien bn phai thanh toan
            /// </summary>
            public const string AmtToPayPntInExc = "AmtToPayPntInExc"; //Số tiền phải trả

            /// <summary>
            /// Tong tien thanh toan
            /// </summary>
            public const string AmtTltPaymentInExc = "AmtTltPaymentInExc";//tổng tiền thanh toán

            /// <summary>
            /// Tong tien tam ung cua BN
            /// </summary>
            public const string AmtTtlRecTmpPntInExc = "AmtTtlRecTmpPntInExc";//Sô tiền tạm ứng của bệnh nhân.

            /// <summary>
            /// Tong Tien mien giam cho BN
            /// </summary>
            public const string AmtTltRdcPntInExc = "AmtTltRdcPntInExc";

            /// <summary>
            /// Tong mien giam BHYT chi tra
            /// </summary>
            public const string AmtTltRdcBhytPntInExc = "AmtTltRdcBhytPntInExc";

            /// <summary>
            /// Tong mien giam chuong trinh, du an, tai tro chi tra
            /// </summary>
            public const string AmtTltRdcDaPntInExc = "AmtTltRdcDaPntInExc";

            /// <summary>
            /// Tong mien giam ngan sach chi tra
            /// </summary>
            public const string AmtTltRdcNsPntInExc = "AmtTltRdcNsPntInExc";
            /// <summary>
            /// So tien bn con thieu
            /// </summary>
            public const string AmtTtlLostPntInExc = "AmtTtlLostPntInExc";//Số tiền bệnh nhân chưa đóng cho bệnh viện

  
            /// <summary>
            /// Trang thai yeu cau
            /// </summary>
            public const string StatusReq = "StatusReq";

            /// <summary>
            /// NGuoi giao
            /// </summary>
            public const string RelsPsnName = "RelsPsnName";

            /// <summary>
            /// Nguoi nhan
            /// </summary>
            public const string PsnPmntName = "PsnPmntName";
            /// <summary>
            /// ID Ke toan thanh toan.
            /// </summary>
            public const string PsnPmntPrkID = "PsnPmntPrkID";
            /// <summary>
            /// Loại đối tượng thực hiện kế toán thanh toán.
            /// </summary>
            public const string PsnObjTypeID = "PsnObjTypeID";
            /// <summary>
            /// Loai phieu thanh toan
            /// </summary>
            public const string EarningType = "EarningType";

            public const string ListEarningType = "ListEarningType";

            /// <summary>
            /// Ma Tai khoan
            /// </summary>
            public const string AcntID = "AcntID";

            /// <summary>
            /// TK ghi no
            /// </summary>
            public const string AcntDrdPmnt = "AcntDrdPmnt";
            /// <summary>
            /// TK ghi co
            /// </summary>
            public const string AcntCrdPmnt = "AcntCrdPmnt";

            /// <summary>
            /// Thuoc tinh TK no
            /// </summary>
            public const string AcntDrdAtrb = "AcntDrdAtrb";

            /// <summary>
            /// Thuoc tinh TK co
            /// </summary>
            public const string AcntCrdAtrb = "AcntCrdAtrb";

            public const string PntLogPrkID = tagMdcFiles.Common.PntLogPrkID;

            public const string Note = "Note";

            public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;
            
            public const string VchOrgID = tagVch.Common.VchOrgID;
            
            public const string VchOrgTypeID = tagVch.Common.VchOrgTypeID;

        }
        #endregion 
      
        #region RvnPnt
        /// <summary>
        /// Doanh thu tu BN
        /// </summary>
        public class RvnPnt
        {
            public const string RvnPntPrkID = "RvnPntPrkID";
            public const string VchNo = tagGeneral.VchNo;
            public const string VchDate = tagGeneral.VchDate;
            public const string VchTypeID = tagGeneral.VchTypeID;
            public const string VchOrgTypeID = tagGeneral.VchOrgTypeID;

            public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;


            public const string VchName = tagGeneral.VchName;
            public const string PntPrkID = "PntPrkID";
            public const string HspInNum = "HspInNum";
            public const string DeptPfmPrkID = "DeptPfmPrkID";
            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string RelsPsnName = "RelsPsnName";
            public const string RecPsnName = "RecPsnName";
            public const string IsComplated = "IsComplated";
            public const string Note = "Note";
            public const string IsActive = "IsActive";
            /// <summary>
            /// ID Bac si thuc hien
            /// </summary>
            public const string DoctorPfmPrkID = "DoctorPfmPrkID";
            /// <summary>
            /// Bac si thuc hien
            /// </summary>
            public const string DoctorPfmName = "DoctorPfmName";

            /// <summary>
            /// ID Bac si yeu cau
            /// </summary>
            public const string DoctorReqPrkID = "DoctorReqPrkID";

            /// <summary>
            /// Bac si yeu cau
            /// </summary>
            public const string DoctorReqName = "DoctorReqName";

            /// <summary>
            /// ID Chung tu goc
            /// </summary>
            public const string VchOrgID = tagGeneral.VchOrgID;

            public const string PntRdcObjPrkID = tagMdcFiles.PntRdcObj.PntRdcObjPrkID;

            public const string ModeTrmtID = tagMdcFiles.MdcFiles.ModeTrmtID;

            public const string PntLogPrkID = tagMdcFiles.Common.PntLogPrkID;
            public const string SvcInsTypeID = "SvcInsTypeID";
            public const string StorePrkID = tagItems.Store.StorePrkID;
            
            /// <summary>
            /// Id Che do KCB ap dung de tinh don gia KCB cho BN
            /// </summary>
            public const string ItemFncStylePrkID = "ItemFncStylePrkID";
            
            /// <summary>
            /// Id che do KCB ap dung cho Kho y te
            /// </summary>
            public const string StoreFncStylePrkID = tagItems.Store.StoreFncStylePrkID;

            /// <summary>
            /// Che do Kcb ap dung kho khoa thuc hien
            /// </summary>
            public const string DeptFncStylePrkID = tagItems.Dept.DeptFncStylePrkID;

            public const string ItemLine = "ItemLine";
            public const string MdnPrkID = "MdnPrkID";
            public const string IsItemRdc = "IsItemRdc";
            public const string Quantity = "Quantity";
            public const string PriceSellInExc = "PriceSellInExc";
            public const string PrimeCostInExc = "PrimeCostInExc";
            public const string AmtLineInExc = "AmtLineInExc";
            public const string AmtRdcLineInExc = "AmtRdcLineInExc";
            public const string PriceToPayInExc= "PriceToPayInExc";
            public const string AmtToPayLineInExc = "AmtToPayLineInExc";
            
            public const string PriceRdcInExc = "PriceRdcInExc";
            
            public const string NoteLine = "NoteLine";
            
            public const string RdcObjRate = tagMdcFiles.PntRdcObj.RdcObjRate;
            public const string PriceSvcInExc = "PriceSvcInExc";          
           public const string AmtSvcLineInExc = "AmtSvcLineInExc";
            
            public const string IsEditPrice = "IsEditPrice";
            
            public const string RscFncPrkID = "RscFncPrkID";

            /// <summary>
            /// Tu ngay chung tu
            /// </summary>
            public const string VchFromDate = "VchFromDate";
            /// <summary>
            /// Den ngay chung tu
            /// </summary>
            public const string VchToDate = "VchToDate";

            /// <summary>
            /// ID Ma hang
            /// </summary>
            public const string ItemPrkID = tagItems.Item.ItemPrkID;

            /// <summary>
            /// ID Khoa
            /// </summary>
            public const string DeptPrkID = tagItems.Dept.DeptPrkID;

            /// <summary>
            /// Ma khoa thuc hien
            /// </summary>
            public const string DeptPfmID = "DeptPfmID";

            /// <summary>
            /// Ten khoa thuc hien
            /// </summary>
            public const string DeptPfmName = "DeptPfmName";

            /// <summary>
            /// ID doi tuong mien giam
            /// </summary>
            public const string RdcObjPrkID = tagItems.RdcObj.RdcObjPrkID;

            /// <summary>
            /// Ma nhom mat hang
            /// </summary>
            public const string ItemGrpID = tagItems.Item.ItemGrpID;

            /// <summary>
            /// Chua danh sach kieu nhom mat hang
            /// </summary>
            public const string ListItemGrpTypeID = "ListItemGrpTypeID";

            /// <summary>
            /// Loai hang hoa
            /// </summary>
            public const string ItemTypeID = tagItems.Item.ItemGrpTypeID;

            /// <summary>
            /// Don gia vuot tran thanh toan BH
            /// </summary>
            public const string PriceOverInExc = "PriceOverInExc";
            /// <summary>
            /// Khoan thu vuot don gia tinh BH
            /// </summary>
            public const string AmtOverLineInExc = "AmtOverLineInExc";

            /// <summary>
            /// Loai khoan thu
            /// </summary>
            public const string PriceCostTypeID = "PriceCostTypeID";
            /// <summary>
            /// Tai khoan nguon kinh phi
            /// </summary>
            public const string AcntRscFncID = "AcntRscFncID";
            /// <summary>
            /// Tai khoan nguon quy 
            /// </summary>
            public const string AcntRscFundsID = "AcntRscFundsID";
            /// <summary>
            /// Doi tuong quan ly nguon kinh phi
            /// </summary>
            public const string RscObjFundsPrkID = "RscObjFundsPrkID";
            /// <summary>
            /// Doi tuong quan ly nguon quy
            /// </summary>
            public const string RscObjFncPrkID = "RscObjFncPrkID";
            /// <summary>
            /// Nguon quy KCB
            /// </summary>
            public const string RscFundsPrkID = "RscFundsPrkID";
            /// <summary>
            /// Tai khoan doanh thu
            /// </summary>
            public const string AcntRvnID = "AcntRvnID";

        }
#endregion
        #region CurePnt
        public class CurePnt
        {

            public const string VchCurePrkID = "VchCurePrkID";

            public const string ItemLine = "ItemLine";

            public const string ItemPrkID = tagItems.Item.ItemPrkID;

            public const string ItemID = tagItems.Item.ItemID;

            public const string ItemName = tagItems.Item.ItemName;

            public const string VchTypeID = tagGeneral.VchTypeID;
            public const string VchNo = tagGeneral.VchNo;
            public const string VchName = tagGeneral.VchName;
            public const string VchDate = tagGeneral.VchDate;
            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string DeptPfmPrkID = "DeptPfmPrkID";
            public const string PntPrkID = "PntPrkID";
            public const string HspInNum = "HspInNum";
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            public const string DoctorReqName = "DoctorReqName";
            public const string DoctorPrmPrkID = "DoctorPrmPrkID";
            public const string DoctorPfmName = "DoctorPfmName";
            public const string StatusReq = "StatusReq";
            public const string Note = "Note";
            public const string ItemGrpPrkID = "ItemGrpPrkID";
            public const string ItemGrpName = "ItemGrpName";
            public const string IsActive = "IsActive";
            public const string ItemGrpParentID = "ItemGrpParentID";
            public const string IsCodeControl = "IsCodeControl";

            public const string ModeTrmt = "ModeTrmt";
            public const string UserWrite = "UserWrite";

            public const string UserUpdate = "UserUpdate";

            /// <summary>
            /// Danh sach trang thai yeu cau
            /// </summary>
            public const string ListStatusReq = "ListStatusReq";

            /// <summary>
            /// Tu ngay chung tu
            /// </summary>
            public const string VchFromDate = tagGeneral.VchFromDate;

            /// <summary>
            /// Den ngay chung tu
            /// </summary>
            public const string VchToDate = tagGeneral.VchToDate;

            /// <summary>
            /// ID KHo
            /// </summary>
            public const string StorePrkID = tagItems.Store.StorePrkID;

            /// <summary>
            /// ID Chung tu
            /// </summary>
            public const string VchID = tagGeneral.VchID;

            /// <summary>
            /// Ma Nhom mat hang
            /// </summary>
            public const string ItemGrpID = tagItems.Item.ItemGrpID;

            /// <summary>
            /// Xac dinh ma hang co dc BH chap nhan thanh toan
            /// </summary>
            public const string IsItemRdc = tagItems.Item.IsItemRdc;

            /// <summary>
            /// So luong
            /// </summary>
            public const string Quantity = "Quantity";

            /// <summary>
            /// Ma khoa
            /// </summary>
            public const string DeptPrkID = tagItems.Dept.DeptPrkID;

            public const string PriceInExc = "PriceInExc";

            /// <summary>
            /// Thanh tien
            /// </summary>
            public const string AmtLineInExc = "AmtLineInExc";
            public const string VchOrgTypeID = tagVch.DrugPnt.VchOrgTypeID;
        }
#endregion
        #region DrugPnt
        public class DrugPnt
        {
            public const string VchDrugPntPrkID = "VchDrugPntPrkID";
            public const string VchDate = "VchDate";
            public const string VchTypeID = "VchTypeID";
            public const string VchName = "VchName";
            public const string VchNo = "VchNo";
            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string DeptReqName = "DeptReqName";

            public const string PntPrkID = "PntPrkID";
            public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;
            public const string HspInNum = "HspInNum";
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            public const string DoctorReqName = "DoctorReqName";
            public const string DoctorPfmPrkID = "DoctorPfmPrkID";
            public const string DoctorPfmName = "DoctorPfmName";
            
            /// <summary>
            /// Nguoi giao
            /// </summary>
            public const string PsnRelsPrkID = "PsnRelsPrkID";
            /// <summary>
            /// Nguoi giao
            /// </summary>
            public const string PsnRelsName = "PsnRelsName";

            public const string ContentReq = "ContentReq";
            public const string StatusReq = "StatusReq";
            public const string StatusReqName = "StatusReqName";

            public const string ModeTrmtID = "ModeTrmtID";
            public const string TagStoreTypeID = "TagStoreTypeID";
            public const string ItemLine = "ItemLine";
            public const string ItemPrkID = "ItemPrkID";

            public const string PntRdcObjPrkID = tagMdcFiles.MdcFiles.PntRdcObjPrkID;

            /// <summary>
            /// ID Khoa thuc hien
            /// </summary>
            public const string DeptPfmPrkID = "DeptPfmPrkID";

            public const string DeptPfmName = "DeptPfmName";

            /// <summary>
            /// Id che do KCB ap dung cho Kho y te
            /// </summary>
            public const string StoreFncStylePrkID = tagItems.Store.StoreFncStylePrkID;

            /// <summary>
            /// Che do Kcb ap dung kho khoa thuc hien
            /// </summary>
            public const string DeptFncStylePrkID = tagItems.Dept.DeptFncStylePrkID;

            /// <summary>
            /// ID che do KCB ap dung cho ma dich vu dang su dung
            /// </summary>
            public const string ItemFncStylePrkID = tagItems.Item.ItemFncStylePrkID;

            /// <summary>
            /// Loai mat hang co ton kho hay ko
            /// </summary>
            public const string IsItemInstock = tagItems.Item.IsItemInStock; 

             /// <summary>
            /// So luong
            /// </summary>
            public const string Quantity = "Quantity";
            /// <summary>
            /// Don gia
            /// </summary>
            public const string PriceSellInExc = "PriceSellInExc";
            /// <summary>
            /// Thanh Tien
            /// </summary>
            public const string AmtLineInExc = "AmtLineInExc";
            /// <summary>
            /// Tổng cộng
            /// </summary>
            public const string AmtTtlLineInExc = "AmtTtlLineInExc";

            
            /// <summary>
            /// Ghi chú
            /// </summary>
            public const string NoteLine = "NoteLine";
            /// <summary>
            /// Nhom
            /// </summary>
            public const string ItemGrpID = tagItems.Item.ItemGrpID;
            /// <summary>
            /// Ma y te
            /// </summary>
            public const string ItemID = tagItems.Item.ItemID;
            /// <summary>
            /// Ten y te
            /// </summary>
            public const string ItemName = tagItems.Item.ItemName;
            /// <summary>
            /// Don vi tinh
            /// </summary>
            public const string Unit = tagItems.Item.Unit;

            public const string StorePrkID = tagItems.Store.StorePrkID;

            public const string IsItemRdc = tagItems.Item.IsItemRdc;
            public const string VchOrgID = "VchOrgID";
            public const string VchOrgTypeID = "VchOrgTypeID";
        }
        #endregion
        #region DeptDrug
        public class DrugDepts
        {
            public const string VchDrugDeptPrkID = "VchDrugDeptPrkID";
            public const string VchDate = "VchDate";
            public const string VchNo = "VchNo";
            public const string VchName = "VchName";
            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string DeptReqName = "DeptReqName";
            public const string DeptPfmPrkID = "DeptPfmPrkID";
            public const string DeptPfmName = "DeptPfmName";
            public const string StorePrkID = "StorePrkID";
            public const string PsnRelsPrkID = "PsnRelsPrkID";
            public const string PsnRelsName = "PsnRelsName";
            public const string PsnRelsTypeID = "PsnRelsTypeID";
            public const string PsnRecsPrkID = "PsnRecsPrkID";
            public const string PsnRecsName = "PsnRecsName";
            public const string StatusReq = "StatusReq";
            public const string Note = "Note";
        }
        #endregion
        #region PTTPnt
        public class PTTPnt
        {
            public const string VchPTTPntPrkID = "VchPTTPntPrkID";
            public const string VchReqPttPntPrkID = "VchReqPttPntPrkID";
            public const string VchDate = "VchDate";
            public const string VchTypeID = "VchTypeID";
            public const string VchName = "VchName";
            public const string VchNo = "VchNo";
            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string DeptReqName = "DeptReqName";
            
            public const string PntPrkID = "PntPrkID";
            public const string HspInNum = "HspInNum";
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            public const string DoctorReqName = "DoctorReqName";
            public const string DoctorPfmPrkID = "DoctorPfmPrkID";
            public const string DoctorPfmName = "DoctorPfmName";
            public const string ContentReq = "ContentReq";
            public const string StatusReq = "StatusReq";
            public const string StatusReqName = "StatusReqName";
            
            public const string DeptPfmPrkID = "DeptPfmPrkID";
            public const string DeptPfmName = "DeptPfmName";
            
            public const string ModeTrmtID = "ModeTrmtID";
            public const string TagStoreTypeID = "TagStoreTypeID";
            public const string ItemLine = "ItemLine";
            public const string ItemPrkID = "ItemPrkID";
            public const string Quantity = "Quantity";
            public const string PriceSellInExc = "PriceSellInExc";
            public const string AmtLineInExc = "AmtLineInExc";
            public const string NoteLine = "NoteLine";
            public const string StorePrkID = tagItems.Store.StorePrkID;
            public const string MdcFilePrkID = tagMdcFiles.Exam.MdcFilePrkID;
            /// <summary>
            /// Id che do KCB ap dung cho Kho y te
            /// </summary>
            public const string StoreFncStylePrkID = tagItems.Store.StoreFncStylePrkID;

            /// <summary>
            /// Che do Kcb ap dung kho khoa thuc hien
            /// </summary>
            public const string DeptFncStylePrkID = tagItems.Dept.DeptFncStylePrkID;

            /// <summary>
            /// ID che do KCB ap dung cho ma dich vu dang su dung
            /// </summary>
            public const string ItemFncStylePrkID = tagItems.Item.ItemFncStylePrkID;

            /// <summary>
            /// Loai mat hang co ton kho hay ko
            /// </summary>
            public const string IsItemInstock = tagItems.Item.IsItemInStock; 

          /// <summary>
            /// Nhom
            /// </summary>
            public const string ItemGrpID = tagItems.Item.ItemGrpID;
            /// <summary>
            /// Ma y te
            /// </summary>
            public const string ItemID = tagItems.Item.ItemID;
            /// <summary>
            /// Ten y te
            /// </summary>
            public const string ItemName = tagItems.Item.ItemName;
            /// <summary>
            /// Don vi tinh
            /// </summary>
            public const string Unit = tagItems.Item.Unit;
            public const string IsItemRdc = tagItems.Item.IsItemRdc;
            public const string VchOrgID = "VchOrgID";
            public const string VchOrgTypeID = "VchOrgTypeID";
        }
        #endregion
        #region CLSPnt
        public class CLSPnt
        {
            public const string CLSPntPrkID = "CLSPntPrkID";
            public const string ReqClsPntPrkID = "ReqClsPntPrkID";

            public const string VchDate = "VchDate";
            public const string VchTypeID = "VchTypeID";
            public const string VchName = "VchName";
            public const string VchNo = "VchNo";
            /// <summary>
            /// ID khoa chi dinh
            /// </summary>
            public const string DeptReqPrkID = "DeptReqPrkID";
            /// <summary>
            /// Ten khoa chi dinh
            /// </summary>
            public const string DeptReqName = "DeptReqName";

            public const string PntPrkID = "PntPrkID";
            public const string HspInNum = "HspInNum";
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            public const string DoctorReqName = "DoctorReqName";
            public const string DoctorPfmPrkID = "DoctorPfmPrkID";
            public const string DoctorPfmName = "DoctorPfmName";
            public const string ContentReq = "ContentReq";
            public const string StatusReq = "StatusReq";
            public const string StatusReqName = "StatusReqName";
            
            public const string ModeTrmt = "ModeTrmt";
            public const string TagStoreTypeID = "TagStoreTypeID";
            public const string ItemLine = "ItemLine";
            public const string ItemPrkID = "ItemPrkID";
            public const string Quantity = "Quantity";
            public const string PriceSellInExc = "PriceSellInExc";
            public const string AmtLineInExc = "AmtLineInExc";
            public const string NoteLine = "NoteLine";
            /// <summary>
            /// Id che do KCB ap dung cho Kho y te
            /// </summary>
            public const string StoreFncStylePrkID = tagItems.Store.StoreFncStylePrkID;

            /// <summary>
            /// Che do Kcb ap dung kho khoa thuc hien
            /// </summary>
            public const string DeptFncStylePrkID = tagItems.Dept.DeptFncStylePrkID;

            /// <summary>
            /// ID che do KCB ap dung cho ma dich vu dang su dung
            /// </summary>
            public const string ItemFncStylePrkID = tagItems.Item.ItemFncStylePrkID;

            /// <summary>
            /// Loai mat hang co ton kho hay ko
            /// </summary>
            public const string IsItemInstock = tagItems.Item.IsItemInStock; 

            /// <summary>
            /// Id Khoa thuc hien
            /// </summary>
            public const string DeptPfmPrkID = "DeptPfmPrkID";
            
            /// <summary>
            /// Ten khoa thuc hien
            /// </summary>
            public const string DeptPfmName = "DeptPfmName";

            /// <summary>
            /// Ma khoa thuc hien
            /// </summary>
            public const string DeptPfmID = "DeptPfmID";

            public const string StorePrkID = tagItems.Store.StorePrkID;
            public const string MdcFilePrkID = "MdcFilePrkID";
            public const string ModeTrmtID = "ModeTrmtID";
            public const string PntRdcObjPrkID = "PntRdcObjPrkID";
/// <summary>
            /// Nhom
            /// </summary>
            public const string ItemGrpID = tagItems.Item.ItemGrpID;
            /// <summary>
            /// Ma y te
            /// </summary>
            public const string ItemID = tagItems.Item.ItemID;
            /// <summary>
            /// Ten y te
            /// </summary>
            public const string ItemName = tagItems.Item.ItemName;
            /// <summary>
            /// Don vi tinh
            /// </summary>
            public const string Unit = tagItems.Item.Unit;
            public const string IsItemRdc = tagItems.Item.IsItemRdc;
            public const string VchOrgID = "VchOrgID";
            public const string VchOrgTypeID = "VchOrgTypeID";
        }
        #endregion
        #region OtherFeePnt
        public class OtherFee
        {
            public const string VchOtherFeePrkID = "VchOtherFeePrkID";
            public const string VchDate = "VchDate";
            public const string VchTypeID = "VchTypeID";
            public const string VchName = "VchName";
            public const string VchNo = "VchNo";
            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string PntPrkID = "PntPrkID";
            public const string HspInNum = "HspInNum";
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            public const string DoctorReqName = "DoctorReqName";
            public const string DoctorPfmPrkID = "DoctorPfmPrkID";
            public const string DoctorPfmName = "DoctorPfmName";
            public const string StatusReq = "StatusReq";
            public const string ModeTrmt = "ModeTrmt";
            public const string TagStoreTypeID = "TagStoreTypeID";
            public const string ItemLine = "ItemLine";
            
            public const string ItemPrkID = "ItemPrkID";

            public const string SvcInsTypeID = tagItems.Item.SvcInsTypeID;
            
            public const string Quantity = "Quantity";
            public const string PriceSellInExc = "PriceSellInExc";
            public const string PriceInExc = "PriceInExc";

            public const string AmtLineInExc = "AmtLineInExc";
            public const string NoteLine = "NoteLine";

            public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;
            public const string ModeTrmtID = tagMdcFiles.MdcFiles.ModeTrmtID;
            public const string VchOrgID = "VchOrgID";
            public const string VchOrgTypeID = "VchOrgTypeID";
            /// <summary>
            /// Id che do KCB ap dung cho Kho y te
            /// </summary>
            public const string StoreFncStylePrkID = tagItems.Store.StoreFncStylePrkID;

            /// <summary>
            /// Che do Kcb ap dung kho khoa thuc hien
            /// </summary>
            public const string DeptFncStylePrkID = tagItems.Dept.DeptFncStylePrkID;

            /// <summary>
            /// ID che do KCB ap dung cho ma dich vu dang su dung
            /// </summary>
            public const string ItemFncStylePrkID = tagItems.Item.ItemFncStylePrkID;

            /// <summary>
            /// Loai mat hang co ton kho hay ko
            /// </summary>
            public const string IsItemInstock = tagItems.Item.IsItemInStock; 
        }
        #endregion
        #region MngDrugPnt
        public class MngDrugPnt
        {
            public const string VchDrugPntPrkID = "VchDrugPntPrkID";
            public const string VchNo = "VchNo";
            public const string VchDate = "VchDate";
            public const string DeptExamPrkID = "DeptExamPrkID";
            public const string DeptDrugPrkID = "DeptDrugPrkID";
            public const string RecPrsnPrkID = "RecPrsnPrkID";
            public const string RelPrsnPrkID = "RelPrsnPrkID";
            public const string VchTypeID = "VchTypeID";
        }
	    #endregion        

        #region Exp
        /// <summary>
        /// Chua cac Field phi tieu hao kcb cho BN
        /// </summary>
        public class ExpPnt
        {
            public const string VchExpPntPrkID = "VchExpPntPrkID";
            public const string VchDate = "VchDate";
            public const string VchTypeID = "VchTypeID";
            public const string VchName = "VchName";
            public const string VchNo = "VchNo";
            public const string MdcFilePrkID = "MdcFilePrkID";
            public const string PntPrkID = "PntPrkID";
            public const string HspInNum = "HspInNum";
            public const string DeptReqPrkID = "DeptReqPrkID";
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            public const string DoctorPfmPrkID = "DoctorPfmPrkID";
            public const string StatusReq = "StatusReq";
            public const string ModeTrmtID = "ModeTrmtID";
            public const string TagStoreTypeID = "TagStoreTypeID";
            public const string StorePrkID = "StorePrkID";
            public const string VchOrgID = "VchOrgID";
            public const string VchOrgTypeID = "VchOrgTypeID";
            public const string ItemLine = "ItemLine";
            public const string ItemPrkID = "ItemPrkID";
            public const string Quantity = "Quantity";
            public const string PrimeCostInExc = "PrimeCostInExc";
            public const string AmtLineInExc = "AmtLineInExc";
            public const string DeptPfmPrkID = "DeptPfmPrkID";
            public const string NoteLine = "NoteLine";

            public const string ExpTypeID = "ExpTypeID";

            /// <summary>
            /// Id nguoi xuat
            /// </summary>
            public const string PsnRelsPrkID = "PsnRelsPrkID";

            /// <summary>
            /// Id Doi tuong Bn mien giam
            /// </summary>
            public const string PntRdcObjPrkID = "PntRdcObjPrkID";

            /// <summary>
            /// Id che do KCB ap dung cho Kho y te
            /// </summary>
            public const string StoreFncStylePrkID = tagItems.Store.StoreFncStylePrkID;

            /// <summary>
            /// Che do Kcb ap dung kho khoa thuc hien
            /// </summary>
            public const string DeptFncStylePrkID = tagItems.Dept.DeptFncStylePrkID;

            /// <summary>
            /// ID che do KCB ap dung cho ma dich vu dang su dung
            /// </summary>
            public const string ItemFncStylePrkID = tagItems.Item.ItemFncStylePrkID;

            /// <summary>
            /// Loai mat hang co ton kho hay ko
            /// </summary>
            public const string IsItemInstock = tagItems.Item.IsItemInStock;

            /// <summary>
            /// Id Nguon Tai chinh
            /// </summary>
            public const string RscFncPrkID = "RscFncPrkID"; 
            /// <summary>
            /// Id Nguon quy KCb
            /// </summary>
            public const string RscFundsPrkID = "RscFundsPrkID"; 
            /// <summary>
            /// Id Doi tuong nguon tai chinh
            /// </summary>
            public const string RscObjFncPrkID = "RscObjFncPrkID";
            /// <summary>
            /// Id Doi tuong Quan ly nguon quy
            /// </summary>
            public const string RscObjFundsPrkID = "RscObjFundsPrkID"; 

            /// <summary>
            /// Tai khoan chi phi tieu hao trong KCB
            /// </summary>
            public const string AcntDrdExpID = "AcntDrdExpID" ;
            /// <summary>
            /// Tai khoan nguon tieu hao
            /// </summary>
            public const string AcntCrdRscID = "AcntCrdRscID";
        }
        #endregion
    }
#endregion
    
    #region MdcFiles
    /// <summary>
    /// Ho so benh an
    /// </summary>
    public class tagMdcFiles
    {
        #region Common
        /// <summary>
        /// Thong tin chung
        /// </summary>
        public class Common
        {
            public const string ModeTrmtID = "ModeTrmtID";
            public const string VchTypeID = tagVch.Common.VchTypeID;
            public const string PntLogPrkID = "PntLogPrkID";
            public const string OrgVchID = tagVch.Common.VchOrgID;
            public const string ItemLine = "ItemLine";
        }
        #endregion 
        
        #region PntObjRdc
        public class PntRdcObj
        {
            /// <summary>
            /// ID Benh an
            /// </summary>
            public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;
            /// <summary>
            /// ID Doi tuong mien giam cu BN
            /// </summary>
            public const string PntRdcObjPrkID = "PntRdcObjPrkID";
            /// <summary>
            /// ID BN
            /// </summary>
            public const string PntPrkID = "PntPrkID";
            /// <summary>
            /// So vao vien
            /// </summary>
            public const string HspInNum = "HspInNum";

            /// <summary>
            /// ID Doi tuong mien giam
            /// </summary>
            public const string RdcObjPrkID = tagItems.RdcObj.RdcObjPrkID;
            /// <summary>
            /// Ten doi tuong mien giam
            /// </summary>
            public const string RdcObjName = tagItems.RdcObj.RdcObjName;

            /// <summary>
            /// Ma doi tuong mien giam
            /// </summary>
            public const string RdcObjID = tagItems.RdcObj.RdcObjID;

            /// <summary>
            /// Nguon quy thanh toan che do mien giam
            /// </summary>
            public const string RscFundsRdcPrkID = "RscFundsRdcPrkID";
            /// <summary>
            /// So the mien giam
            /// </summary>
            public const string InsNum = "InsNum";


            /// <summary>
            /// Nơi đăng ký khám chữa bệnh ban đầu.
            /// </summary>
            public const string InsRegExamPrkID = "InsRegExamPrkID";
            /// <summary>
            /// Tên nơi đăng ký KCB ban đầu.
            /// </summary>
            public const string InsRegExamName = "InsRegExamName";
            /// <summary>
            /// Ngay su dung
            /// </summary>
            public const string InsDate = "InsDate";
            /// <summary>
            /// ngay het han
            /// </summary>
            public const string InsExpireDate = "InsExpireDate";
            
            /// <summary>
            /// Ma Dang ky KCB ban dau
            /// </summary>
            public const string InsRegExamCodeID = "InsRegExamCodeID";
            
            /// <summary>
            /// Xac dinh con dung ko?
            /// </summary>
            public const string IsActive = "IsActive";

            public const string RdcObjRate = "RdcObjRate";
            public const string SvcInsTypeID = tagItems.RdcIns.SvcInsTypeID;
            public const string IsKcbDgTnOrCc = "IsKcbDgTnOrCc";
            public const string AmtTtlFeeExamInExc= "AmtTtlFeeExamInExc";
            /// <summary>
            /// Cong thuc tinh don gia toi thieu duoc huong che do BHYT
            /// </summary>
            public const string FmlrMinFeeIns = "FmlrMinFeeIns";
            public const string ListRdcObjIns = "ListRdcObjIns";
            public const string AmtEarnMinInExc = "AmtEarnMinInExc";
            
            public const string AmtUnitFeeExamInExc= "AmtUnitFeeExamInExc";
            /// <summary>
            /// Cong thuc tinh don gia toi da duoc huong BHYT ap dung co dich vu ky thuat cao
            /// </summary>
            public const string FmlrHightSvcIns = "FmlrHightSvcIns";
           
            /// <summary>
            /// Hang benh vien
            /// </summary>
            public const string RankHsp = "RankHsp";
            /// <summary>
            /// Xac dinh co phai la BN cap cuu
            /// </summary>
            public const string IsPntEmergency = "IsPntEmergency";
            /// <summary>
            /// Xac dinh the KCB co hop le khong
            /// </summary>
            public const string IsValidIns = "IsValidIns";
            
            /// <summary>
            /// Ma doi tuong tham gia BHYT
            /// </summary>
            public const string RdcObjInsID = tagItems.RdcObj.RdcObjInsID;

            /// <summary>
            /// Muc quyen loi duoc huong BHYT 
            /// </summary>
            public const string RdcInsLevel = "RdcInsLevel";

            public const string DateRegExamInHsp = "DateRegExamInHsp";

            /// <summary>
            /// Xac dinh co phai doi tuong KCB HBYT
            /// </summary>
            public const string IsInsObj = tagItems.RdcObj.IsInsObj;

            /// <summary>
            /// Ngay bat dau ap dung Dt KCB tai BV
            /// </summary>
            public const string DateStart = "DateStart";
            /// <summary>
            /// Ngay ket thuc ap dung Doi tuong KCb tai BV
            /// </summary>
            public const string DateEnd = "DateEnd";

        }
        #endregion

        #region Sickness

        /// <summary>
        /// Thong tin benh tat
        /// </summary>
        public class Sickness
        {
            /// <summary>
            /// Thoi gian bi bong(Danh cho benh an bong)
            /// </summary>
            public const string TimeScalded = "TimeScalded";
        }
        #endregion

        #region Pnt

        /// <summary>
        /// Thong tin benh nhan
        /// </summary>
        public class Pnt 
        {

            /// <summary>
            /// Xac dinh tim kiem boi ngay ra vien
            /// </summary>
            public const string IsFindByDateIn = "IsFindByDateIn";

            /// <summary>
            /// Xac dinh tim kiem bo ngay ra vien
            /// </summary>
            public const string IsFindByDateOut = "IsFindByDateIn";
            
            /// <summary>
            /// Ma benh nhan
            /// </summary>
            public const string PntID = "PntID";

            public const string InsNumFormat = "InsNumFormat";

            /// <summary>
            /// NGay sinh
            /// </summary>
            public const string PntBirthday = "PntBirthday";

            public const string PntPlace = "PntPlace";
            /// <summary>
            /// Dia chi
            /// </summary>
            public const string PntAddr = "PntAddr";

            /// <summary>
            /// Dan toc
            /// </summary>
            public const string PntRaceName = "PntRaceName";

            /// <summary>
            /// Ma dan toc
            /// </summary>
            public const string PntRaceID = "PntRaceID";

            /// <summary>
            /// Gioi tinh BN
            /// </summary>
            public const string PntSexName = "PntSexName";
           
            /// <summary>
            /// Ma gioi tinh
            /// </summary>
            public const string PntSexID = "PntSexID";

            /// <summary>
            /// Ten quoc gia
            /// </summary>
            public const string PntCountryName = "PntCountryName";

  

            /// <summary>
            /// Nhom nghe nghiep
            /// </summary>
            public const string PntJobGrpID = "PntJobGrpID";
           
            public const string PntJobGrpPrkID = "PntJobGrpPrkID";

            public const string PntUnitAgeID = "PntUnitAgeID";

            public const string PntJobGrpName = "PntJobGrpName";
 
            /// <summary>
            /// Ten thon xom
            /// </summary>
            public const string PntHamletName = "PntHamletName";
            /// <summary>
            /// Ten Phuong xa
            /// </summary>
            public const string PntTownWardName = "PntTownWardName";

            /// <summary>
            /// Ten Quan huyen
            /// </summary>
            public const string PntDistrictName = "PntDistrictName"; // Quan Huyen

            /// <summary>
            /// Ma quan huyen
            /// </summary>
            public const string PntDistrictID = "PntDistrictID";

            /// <summary>
            /// Ten Tinh TP
            /// </summary>
            public const string PntProvinceName = "PntProvinceName";

            /// <summary>
            /// Noi lam viec
            /// </summary>
            public const string PntPlaceWork = "PntPlaceWork";
          

            /// <summary>
            /// Ma dan toc
            /// </summary>
            public const string RaceID = "RaceID";

            /// <summary>
            /// Ten dan toc
            /// </summary>
            public const string RaceName = "RaceName";

            /// <summary>
            /// Ten gioi tinh
            /// </summary>
            public const string SexName = "SexName";
       
            /// <summary>
            /// Ngay het han BH
            /// </summary>
            public const string InsExpireDate = "InsExpireDate";

      
       

            /// <summary>
            /// So chung sinh
            /// </summary>
            public const string BirthNo = "BirthNo";
   
  
            /// <summary>
            /// Xac nhan cua n
            /// </summary>
            public const string BirthAuthorRight = "BirthAuthorRight";
            /// <summary>
            /// Giay chung nhan cua uy ban
            /// </summary>
            public const string BirthGovCertify = "BirthGovCertify";//Giay chưng nhan uy ban
            /// <summary>
            /// Nguoi nha can lien lac
            /// </summary>
            public const string PntContact = "PntContact";
            /// <summary>
            /// So phone nguoi nha can lien lac
            /// </summary>
            public const string PntPhone = "PntPhone";
            /// <summary>
            /// Tuoi BN
            /// </summary>
            public const string PntAge = "PntAge";
            /// <summary>
            /// Don vi tinh tuoi
            /// </summary>
            public const string PntUnitAgeName = "PntUnitAgeName";

            /// <summary>
            /// Nam sinh cua BN
            /// </summary>
            public const string PntBirthYear = "PntBirthYear";

            /// <summary>
            /// ID Dan toc
            /// </summary>
            public const string PntRacePrkID = "PntRacePrkID";
             /// <summary>
            /// Chuc nang KCB cua khoa
            /// </summary>
            public const string DeptFunc = "DeptFunc";
            /// <summary>
            /// Loai khoa. Tham chieu toi Enum DeptTypes
            /// </summary>
            public const string DeptType = tagItems.Dept.DeptTypeID;

            /// <summary>
            /// So BHYT
            /// </summary>
            public const string InsNum = "InsNum";
            /// <summary>
            /// NGay BHYT
            /// </summary>
            public const string InsDate = "InsDate";

            /// <summary>
            /// Kiểu quan hệ với người liên lac
            /// </summary>
            public const string PntContactTitle = "PntContactTitle";
     

            /// <summary>
            /// ID Ho so benh an
            /// </summary>
            public const string MdcFilePrkID = "MdcFilePrkID";

            /// <summary>
            /// Ngay benh an, hoac ngay kham benh
            /// </summary>
            public const string MdcFileDate = "MdcFileDate";

 

            /// <summary>
            /// ID Benh nhan
            /// </summary>
            public const string PntPrkID = "PntPrkID";

            /// <summary>
            /// Ten BN
            /// </summary>
            public const string PntName = "PntName";
            /// <summary>
            /// Ma so vao vien
            /// </summary>
            public const string HspInNum = "HspInNum";

            /// <summary>
            /// Xac dinh BN da ra vien chua
            /// </summary>
            public const string IsActive = tagCtrl.IsActive;

            /// <summary>
            /// ID Phuong xa
            /// </summary>
            public const string PntTownWardPrkID = "PntTownWardPrkID";

            /// <summary>
            /// ID Phuong xa
            /// </summary>
            public const string PntTownWardID = "PntTownWardID";

            /// <summary>
            /// ID Tinh TP
            /// </summary>
            public const string PntProvincePrkID = "PntProvincePrkID";

            /// <summary>
            /// Tinh thanh phos
            /// </summary>
            public const string PntProvinceID = "PntProvinceID";
            /// <summary>
            /// Quan huyen
            /// </summary>
            public const string PntDistrictPrkID = "PntDistrictPrkID";
            /// <summary>
            /// ID Quoc gia
            /// </summary>
            public const string PntCountryPrkID = "PntCountryPrkID";
            
            /// <summary>
            /// Ma quoc gia
            /// </summary>
            public const string PntCountryID = "PntCountryID";

            /// <summary>
            /// Ma tinh dang ky BHYT
            /// </summary>
            public const string PrvcInsID = "PrvcInsID";

            /// <summary>
            /// Ma benh vien dang ky Kcb ban dau
            /// </summary>
            public const string HspInsID = "HspInsID";
        }
        #endregion
        #region Exam
       public class Exam 
        {
           /// <summary>
           /// ID Benh an
           /// </summary>
           public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;

           /// <summary>
           /// Ngay chung tu
           /// </summary>
           public const string VchDate = tagVch.Common.VchDate;

           /// <summary>
           /// so chung tu
           /// </summary>
           public const string VchNo = tagVch.Common.VchNo;
           /// <summary>
           /// Ten chung tu hoac phieu kham.
           /// </summary>
           public const string VchName = "VchName"; 
  
           /// <summary>
           /// Chuc nang kham benh
           /// </summary>
           public const string ExamFuncName = "ExamFuncName";

            /// <summary>
            /// Ngay kham benh
            /// </summary>
           public const string DateExam = "DateExam";

           public const string TimeExam = "TimeExam";

            /// <summary>
            /// Ma benh ICD10
            /// </summary>
            public const string Icd10ID = "Icd10ID";

            /// <summary>
            /// Ten benh ICD10
            /// </summary>
            public const string IcdName = "IcdName";
           
           /// <summary>
           /// Xac dinh ma benh thuoc nguyen nhan chinh ko
           /// </summary>
           public const string PainTypeID = tagItems.ItemCheck.PainTypeID;
           /// <summary>
           /// Ghi chu
           /// </summary>
           public const string Note = "Note";
           
           public const string ItemLine = "ItemLine";
            
           /// <summary>
           /// Ghi chu dong
           /// </summary>
           public const string NoteLine = "NoteLine";          
            /// <summary>
            /// ID Xac dinh mac benh khong ?
            /// </summary>
            public const string IsPainID = "IsPainID";

            /// <summary>
            /// Khoa kham benh
            /// </summary>
            public const string DeptExamName = "DeptExamName";
           /// <summary>
           /// Tên khoa thực hiện
           /// </summary>
            public const string DeptExamPfmName = "DeptExamPfmName";
            /// <summary>
            /// Bac si kham benh
            /// </summary>
            public const string DoctorExamName = "DoctorExamName";

            /// <summary>
            /// ID Khoa yeu cau
            /// </summary>
            public const string DeptReqPrkID = "DeptReqPrkID";
           
            /// <summary>
          /// Khoa yeu cau kham benh
           /// </summary>
            public const string DeptReqName = "DeptReqName";
            /// <summary>
            ///Khoa kham benh
            /// </summary>
            public const string DeptExamPrkID = "DeptExamPrkID";
           /// <summary>
           /// Khoa  thuc hien
           /// </summary>
            public const string DeptPfrmName = "DeptPfrmName";
            /// <summary>
            /// Khoa dieu tri hien tai
            /// </summary>
            public const string DeptCurrentPrkID = "DeptCurrentPrkID";

            /// <summary>
            /// Chi dan ra vien
            /// </summary>
            public const string GuideTrmtID = "GuideTrmtID";

            /// <summary>
            /// Ghi chu khi ra vien
            /// </summary>
            public const string GuideNote = "GuideNote";

            /// <summary>
            /// ID Doi tuong mien giam cua BN
            /// </summary>
            public const string PntObjPrkID = "PntObjPrkID";

           /// <summary>
           /// Chẩn đoán sơ bộ.
           /// </summary>
            public const string Diagnostic = "Diagnostic";

           /// <summary>
           /// Noi dung yeu cau
           /// </summary>
            public const string ContentReq = "ContentReq";

           /// <summary>
           /// Ten bac si yeu cau
           /// </summary>
            public const string DoctorReqName = "DoctorReqName";
           /// <summary>
           /// ID bac si yeu cau
           /// </summary>
            public const string DoctorReqPrkID = "DoctorReqPrkID";
           /// <summary>
           /// ID nguoi giao thuoc.
           /// </summary>
            public const string DoctorPfmPrkID = "DoctorPfmPrkID";
           /// <summary>
           /// Ten nguoi cap thuoc.
           /// </summary>
            public const string DoctorPfmName = "DoctorPfmName";
 
            /// Trieu chung benh
            /// </summary>
            public const string SymptomsPain = "SymptomsPain";

            /// <summary>
            /// Hinh thuc KCB: KB | Noi tru | Ngoai tru
            /// </summary>
            public const string ModeTrmtID = tagMdcFiles.Common.ModeTrmtID;

            public const string IsActive = "IsActive";
            /// <summary>
            /// Loai chung tu
            /// </summary>
            public const string VchTypeID = tagMdcFiles.Common.VchTypeID;

            public const string VchID = "VchID";
            /// <summary>
            /// ID ghi nhan nhat ky qua trinh KCB cua BN
            /// </summary>
            public const string PntLogPrkID = tagMdcFiles.Common.PntLogPrkID;

            /// <summary>
            /// ID khoa thuc hien
            /// </summary>
            public const string DeptPfmPrkID = "DeptPfmPrkID";

            /// <summary>
          /// Tên khoa thực hiện khám bệnh
           /// </summary>
            public const string DeptPfmName = "DeptPfmName";
           /// <summary>
           /// Nội dung yêu cầu khám bệnh
           /// </summary>
            public const string NoteReq = "NoteReq";
            /// <summary>
            /// Trang thai cua benh nhan. Tham chieu toi Enum PatientStatus
            /// </summary>
            public const string PntStatusExam = "PntStatusExam";// Registry, Examine, HspIn, HspOut
            /// <summary>
           /// ID loai chuyen vien.
           /// </summary>
            public const string TranTypeID = "TranTypeID";

           /// <summary>
           /// ID noi gioi thieu.
           /// </summary>
            public const string NgtID = "NgtID";

           /// <summary>
           /// ID ket qua dieu tri.
           /// </summary>
            public const string KqdtID = "KadtID";

           /// <summary>
           /// ID Ra vien.
           /// </summary>
            public const string RvID = "RvID";

           /// <summary>
           /// Dong nhat ky kham
           /// </summary>
            public const string TaskJrnExamPrkID = "TaskJrnExamPrkID";

           /// <summary>
           /// ID BN
           /// </summary>
           public const string PntPrkID = tagMdcFiles.Pnt.PntPrkID;
           
           /// <summary>
           /// So vao vien
           /// </summary>
           public const string HspInNum = tagMdcFiles.Pnt.HspInNum;

           /// <summary>
           /// ID Bs Kham benh
           /// </summary>
           public const string DoctorExamPrkID = "DoctorExamPrkID";
            
 
           /// <summary>
           /// Trang thai thuc hien yeu cau
           /// </summary>
           public const string StatusReq = "StatusReq";
            /// <summary>
            /// So kham benh
            /// </summary>
            public const string PntExamNo = "PntExamNo";

         
           /// <summary>
           /// ID Phieu kham benh ngoai tru
           /// </summary>
            public const string OutsideExamPrkID = "OutsideExamPrkID";
           /// <summary>
           /// Chuyen  den.
           /// </summary>
            public const string HspTranToPrkID = "HspTranToPrkID";
           /// <summary>
           /// ID chung tu goc
           /// </summary>
           public const string VchOrgID = "VchOrgID";

           /// <summary>
           /// Loai chung tu goc
           /// </summary>
           public const string VchOrgTypeID = "VchOrgTypeID";
           /// <summary>
           /// Tu vong
           /// </summary>
           public const string IsDie = "IsDie";
           /// <summary>
           /// Kham chinh hay khong ?
           /// </summary>
           public const string IsMainExam = "IsMainExam";

           public const string DeptPrkID = "DeptPrkID";
           public const string DeptCurePrkID = "DeptCurePrkID";
           public const string IsReqInHsp = "IsReqInHsp";
           public const string IsInDept = "IsInDept";

        }
        #endregion

        #region MdcFile
        /// <summary>
        /// Thong tin Ho so benh an
        /// </summary>
       public class MdcFiles
       {
           /// <summary>
           /// So vao vien
           /// </summary>
           public const string HspInNum = "HspInNum";
           public const string DateTimeIn = "DateTimeIn";
           public const string VchDate = "VchDate";
           public const string PntInHspPrkID = "PntInHspPrkID";
           public const string VchNo = "VchNo";
           /// <summary>
           /// Khoa điều trị.
           /// </summary>
           public const string DeptExamPrkID = "DeptExamPrkID";
           
           /// <summary>
           /// Ki hieu khoa
           /// </summary>
           public const string DeptSign = "DeptSign";

           public const string DoctorReqPrkID = "DoctorReqPrkID";
           public const string DoctoPfmPrkID = "DoctoPfmPrkID";
           public const string Note = "Note";
           public const string StatusReq = "StatusReq";
           public const string IsValidIns = "IsValidIns";
           public const string RdcObjInsID = tagItems.RdcObj.RdcObjInsID;
           public const string PntRdcObjPrkID = "PntRdcObjPrkID";

           /// <summary>
           /// Loai tai nạn dung de xac dinh che do KCB BHYT
           /// </summary>
           public const string AcdntTypeID = "AcdntTypeID";

           /// <summary>
           /// Xac dinh loai tai nan duoc BH thanh toan khong
           /// </summary>
           public const string IsAcdntIns = "IsAcdntIns";

           public const string PntInDeptPrkID = "PntInDeptPrkID";
            /// <summary>
            /// Ngay nhap khoa.
            /// </summary>
           public const string DateTimeInDept = "DateTimeInDept";
            /// <summary>
            /// Bac si dieu tri.
            /// </summary>
           public const string DoctorExamPrkID = "DoctorExamPrkID";
           /// <summary>
           /// ID ho so benh an
           /// </summary>
           public const string MdcFilePrkID = "MdcFilePrkID";

           /// <summary>
           /// ID thong tin tai nan thuong tich cua benh nhan
           /// </summary>
           public const string PntAccidentInfoPrkID = "PntAccidentInfoPrkID";

           /// <summary>
           /// Noi xay ra tai nan.
           /// </summary>
           public const string PlaceAccident = "PlaceAccident";

           /// <summary>
           /// ID benh an dieu tri cua benh nhan
           /// </summary>
           public const string MdcFileCurePrkID = "MdcFileCurePrkID";
           /// <summary>
           /// Trang thai dieu tri cua benh nhan
           /// </summary>
           public const string PntStatusCureID = "PntStatusCureID";
           /// <summary>
           /// Ngay nhap vien dieu tri
           /// </summary>
           public const string DateCure = "DateCure";
           /// <summary>
           /// Ma ICD chan doan vao vien
           /// </summary>
           public const string IcdCdVaoVien = "IcdCdVaoVien";
     
          
           /// <summary>
           /// Khoa dieu tri
           /// </summary>
           public const string DeptCurePrkID = "DeptCurePrkID";
           /// <summary>
           /// So phong dieu tri
           /// </summary>
           public const string PhongCureNo = "PhongCureNo";
           /// <summary>
           /// So giuong benh
           /// </summary>
           public const string BedCureNo = "BedCureNo";
           /// <summary>
           /// Ngay kham benh
           /// </summary>
           public const string DateExam = "DateExam";
           /// <summary>
           /// ngay vao vien 
           /// </summary>
           public const string DateIn = "DateIn";

           /// <summary>
           /// Ngay ra vien
           /// </summary>
           public const string DateOut = "DateOut";

           /// <summary>
           /// Khoa KCB hien tai
           /// </summary>
           public const string DeptCurrentPrkID = "DeptCurrentPrkID";
           /// <summary>
           /// Loai benh an
           /// </summary>
           public const string MdcFileType = "MdcFileType";
           public const string MdcFileRerodPrkID = "MdcFileRerodPrkID";
           
           public const string MdcFileTypeID = "MdcFileTypeID";
           public const string MdcFileTypePrkID = "MdcFileTypePrkID";
           public const string MdcFileTypeName = "MdcFileTypeName";
           public const string EnumMdcFileType = "EnumMdcFileType";
           public const string VchOrgID = tagVch.Common.VchOrgID;
           public const string VchOrgTypeID = tagVch.Common.VchOrgTypeID;

           /// <summary>
           /// Khoa vao vien
           /// </summary>
           public const string DeptInPrkID = "DeptInPrkID";

           /// <summary>
           /// Khoa ra vien
           /// </summary>
           public const string DeptOutPrkID = "DeptOutPrkID";

           /// <summary>
           /// Xac dinh con dung ko
           /// </summary>
           public const string IsActive = tagCtrl.IsActive;

           /// <summary>
           /// Dong ho so benh an
           /// </summary>
           public const string ItemLine = "ItemLine";

           /// <summary>
           /// So ho so benh an
           /// </summary>
           public const string MdcFileNo = "MdcFileNo";

           /// <summary>
           /// So benh an hoac so kham benh
           /// </summary>
           public const string PntExamNo = "PntExamNo";

           /// <summary>
           /// Hinh thuc dieu tri
           /// </summary>
           public const string ModeTrmtID = "ModeTrmtID";

           /// <summary>
           /// Chua danh sach hinh thuc KCB
           /// </summary>
           public const string ListModeTrmt = "ListModeTrmt";

           /// <summary>
           /// Xac dinh benh an dang dung hay ko?
           /// </summary>
           public const string IsOpen = "IsOpen";

           /// <summary>
           /// ID Nhat ky Benh nhan
           /// </summary>
           public const string PntLogPrkID = tagMdcFiles.Common.PntLogPrkID;

           /// <summary>
           /// ID Benh nhan
           /// </summary>
           public const string PntPrkID = "PntPrkID";

           /// <summary>
           /// Ma benh nhan
           /// </summary>
           public const string PntID = "PntID";
           /// <summary>
           /// Ten BN
           /// </summary>
           public const string PntName = "PntName";
           /// <summary>
           /// Ngay sinh
           /// </summary>
           public const string PntBirthday = "PntBirthday";
           /// <summary>
           /// Nam sinh
           /// </summary>
           public const string PntBirthYear = "PntBirthYear";

           /// <summary>
           /// Tuoi BN
           /// </summary>
           public const string PntAge = "PntAge";
           /// <summary>
           /// Don vi tinh tuoi
           /// </summary>
           public const string PntUnitAgeID = "PntUnitAgeID";
           /// <summary>
           /// Dia chi BN
           /// </summary>
           public const string PntAddr = "PntAddr";
           /// <summary>
           /// ID Dan toc
           /// </summary>
           public const string PntRacePrkID = "PntRacePrkID";
           /// <summary>
           /// ID gioi tinh
           /// </summary>
           public const string PntSexID = "PntSexID";
           /// <summary>
           /// ID Phuong xa
           /// </summary>
           public const string PntTownWardPrkID = "PntTownWardPrkID";
           /// <summary>
           /// ID quan huyen
           /// </summary>
           public const string PntDistrictPrkID = "PntDistrictPrkID";
           /// <summary>
           /// ID tinh TP
           /// </summary>
           public const string PntProvincePrkID = "PntProvincePrkID";
           /// <summary>
           /// ID Quoc gia
           /// </summary>
           public const string PntCountryPrkID = "PntCountryPrkID";
           /// <summary>
           /// ID Nhom cong viec
           /// </summary>
           public const string PntJobGrpPrkID = "PntJobGrpPrkID";
           /// <summary>
           /// Noi lam viec
           /// </summary>
           public const string PntPlaceWork = "PntPlaceWork";
           /// <summary>
           /// So phone lien lac BN
           /// </summary>
           public const string PntPhone = "PntPhone";
           /// <summary>
           /// Nguoi lien lac
           /// </summary>
           public const string PntContact = "PntContact";
           /// <summary>
           /// Quan he
           /// </summary>
           public const string ContactTitle = "ContactTitle";
           /// <summary>
           /// Icd noi gioi thieu
           /// </summary>
           public const string IcdPrsntID = "IcdPrsntID";
           /// <summary>
           /// Chan doan benh noi gioi thieu
           /// </summary>
           public const string IcdPrsntName = "IcdPrsntName";
           /// <summary>
           /// Ngay kham benh
           /// </summary>
           public const string DateTimeExam = "DateTimeExam";
           /// <summary>
           /// ID co quan gioi thieu
           /// </summary>
           public const string TranFromOfficeCode = "TranFromOfficeCode";
           /// <summary>
           /// Ten co quan gioi thieu
           /// </summary>
           public const string TranFromOfficeName = "TranFromOfficeName";

           public const string TranFromOfficePrkID = "TranFromOfficePrkID";

           /// <summary>
           /// Loai chuyen den
           /// </summary>
           public const string TranFromHspTypeID = "TranFromHspTypeID";
           /// <summary>
           /// Ten phuong xa
           /// </summary>
            public const string PntTownWardName = "PntTownWardName";
           /// <summary>
           /// Ten Quan huyen
           /// </summary>
           public const string PntDistrictName = "PntDistrictName";
           /// <summary>
           /// Ten tinh, TP
           /// </summary>
           public const string PntProvinceName = "PntProvinceName";
           /// <summary>
           /// Ten quoc gia~
           /// </summary>
           public const string PntCountryName = "PntCountryName";

           /// <summary>
           /// Chan doan noi chuyen den
           /// </summary>
           public const string DgnsFrom = "DgnsFrom";

           /// <summary>
           /// Ly do vao vien
           /// </summary>
           public const string ReasonExam = "ReasonExam";

           public const string PntContactAdd = "PntContactAdd";

           public const string UnitAgeName = "UnitAgeName";

           /// <summary>
           /// Xac dinh Bn kham trai tuyen khong
           /// </summary>
           public const string IsKcbDgTuyen = "IsKcbDgTuyen";

           public const string IsPntEmergency = "IsPntEmergency";
                  public const string ClassNum = "ClassNum";
           public const string BedNum = "BedNum";
           public const string BedTypeID = "BedTypeID";
    

           public const string RdcObjPrkID = tagItems.RdcObj.RdcObjPrkID;

           /// <summary>
           /// ID che do KCB cua BN
           /// </summary>
           public const string FncStylePntPrkID = "FncStylePntPrkID";
       }
        #endregion
        #region Fee
        /// <summary>
        /// Thong tin chi phi
        /// </summary>
        public class Fee 
        {
            public const string ItemPrkID = tagItems.Item.ItemPrkID;
            public const string Quantity = tagVch.Inv.Quantity;
            public const string PriceInExc = tagVch.Inv.PriceInExc;
            public const string AmtLineInExc = tagVch.Inv.AmtLineInExc;
        }
        #endregion
        #region PayOut
        /// <summary>
        /// Thong tin thanh toan
        /// </summary>
        public class PayOut
        {
            public const string PayOutExamPrkID = "PayOutExamPrkID";
            public const string VchTypeID = "VchTypeID";
            public const string VchDate = "VchDate";
            public const string VchNo = "VchNo";
            public const string VchTaxDate = "VchTaxDate";
            public const string VchTaxNo = "VchTaxNo";
            public const string PntPrkID = "PntPrkID";
            public const string HspInNum = "HspInNum";
            public const string MdcFilePrkID = "MdcFilePrkID";
            public const string PntRdcObjPrkID = "PntRdcObjPrkID";
            public const string PsnPmntName = "PsnPmntName";
            public const string ModeTrmtID = "ModeTrmtID";
            public const string Note = "Note";
            
            public const string RelsPsnName = "RelsPsnName";

            public const string AmtTtlRdcPntInExc = "AmtTtlRdcPntInExc";

            public const string AmtTtlFeeExamInExc = "AmtTtlFeeExamInExc";
            public const string AmtText = "AmtText";

            public const string VchName = "VchName";
            /// <summary>
            /// Loai doi tuong thanh toans
            /// </summary>
            public const string PsnPmntObjTypeID = "PsnPmntObjTypeID";
            
            public const string PsnPmntPrkID = "PsnPmntPrkID";
            
            public const string VchOrgID = "VchOrgID";
           
            public const string VchOrgTypeID = "VchOrgTypeID";

            /// <summary>
            /// Tong tien bn phai thanh toan
            /// </summary>
            public const string AmtTtlToPayPntInExc = "AmtTtlToPayPntInExc";

            /// <summary>
            /// Tong tien KCb theo ngan sach BN phai thanh toan
            /// </summary>
            public const string AmtTtlToPayNsPntInExc = "AmtTtlToPayNsPntInExc";

            /// <summary>
            /// Tong tien Kcb dich Bn phai thanh toan
            /// </summary>
            public const string AmtTtlToPaySvcPntInExc = "AmtTtlToPaySvcPntInExc";

            /// <summary>
            /// Tong tien Kcb Bhty chi tra cho BN
            /// </summary>
            public const string AmtTtlToPayInsPntInExc = "AmtTtlToPayInsPntInExc";

            /// <summary>
            /// Tong tien du an, chuong trinh, tai trợ chi tra cho BN
            /// </summary>
            public const string AmtTtlToPayDaPntInExc = "AmtTtlToPayDaPntInExc";

            /// <summary>
            /// Doanh thu Kcb
            /// </summary>
            public const string AmtTltRvnPntInExc = "AmtTltRvnPntInExc";

            /// <summary>
            /// So tien bn phai thanh toan
            /// </summary>
            public const string AmtToPayPntInExc = "AmtToPayPntInExc"; //Số tiền phải trả

            /// <summary>
            /// Tong tien thanh toan
            /// </summary>
            public const string AmtTltPaymentInExc = "AmtTltPaymentInExc";//tổng tiền thanh toán

            /// <summary>
            /// Tong tien tam ung cua BN
            /// </summary>
            public const string AmtTtlRecTmpPntInExc = "AmtTtlRecTmpPntInExc";//Sô tiền tạm ứng của bệnh nhân.

            /// <summary>
            /// Tong Tien mien giam cho BN
            /// </summary>
            public const string AmtTltRdcPntInExc = "AmtTltRdcPntInExc";

            /// <summary>
            /// Tong mien giam BHYT chi tra
            /// </summary>
            public const string AmtTltRdcInsPntInExc = "AmtTltRdcInsPntInExc";

            /// <summary>
            /// Tong mien giam chuong trinh, du an, tai tro chi tra
            /// </summary>
            public const string AmtTltRdcDaPntInExc = "AmtTltRdcDaPntInExc";

            /// <summary>
            /// Tong mien giam ngan sach chi tra
            /// </summary>
            public const string AmtTltRdcNsPntInExc = "AmtTltRdcNsPntInExc";
            /// <summary>
            /// So tien bn con thieu
            /// </summary>
            public const string AmtTtlLostPntInExc = "AmtTtlLostPntInExc";//Số tiền bệnh nhân chưa đóng cho bệnh viện

            /// <summary>
            /// Tong tien  hoan ung
            /// </summary>
            public const string AmtTtlTurnBackPntInExc = "AmtTtlTurnBackPntInExc";

            /// <summary>
            /// So du cua benh nhan
            /// </summary>
            public const string AmtTtlBlcPntInExc = "AmtTtlBlcPntInExc";

        }
#endregion
        #region RegPnt
        public class RegPnt
        {
            /// <summary>
            /// Id Phieu dang ky kham benh
            /// </summary>
            public const string PntRegPrkID = "PntRegPrkID";
            /// <summary>
            /// ID Ho so benh an
            /// </summary>
            public const string MdcFilePrkID = "MdcFilePrkID";
            /// <summary>
            /// Id benh nhan
            /// </summary>
            public const string PntPrkID = "PntPrkID";
            /// <summary>
            /// Ma so vao vien
            /// </summary>
            public const string HspInNum = "HspInNum";
            /// <summary>
            /// So phieu tu kham benh
            /// </summary>
            public const string VchNo = "VchNo";

            /// <summary>
            /// Ten phieu
            /// </summary>
            public const string VchName = "VchName";

            /// <summary>
            /// Chuc nang kham
            /// </summary>
            public const string ExamFuncName = "ExamFuncName";

            /// <summary>
            /// Ngay phieu kham benh
            /// </summary>
            public const string VchDate = "VchDate";
            /// <summary>
            /// Thoi gian dang ky KB
            /// </summary>
            public const string TimeRegExam = "TimeRegExam";
            /// <summary>
            /// Khoa dang ky KB ban dau
            /// </summary>
            public const string DeptExamPrkID = "DeptExamPrkID";

            public const string DeptSign = "DeptSign";
            /// <summary>
            /// Hinh khuc KCB
            /// </summary>
            public const string ModeTrmtID = "ModeTrmtID";

            /// <summary>
            /// So kham benh
            /// </summary>
            public const string PntExamNo = "PntExamNo";

            public const string VchTypeID = tagVch.Common.VchTypeID;
         
            /// <summary>
            /// Nơi đăng ký khám chữa bệnh ban đầu.
            /// </summary>
            public const string DkKcbBD = "DkDcbBD";
            /// <summary>
            /// Nguoi dang ky BN
            /// </summary>
            public const string PsnRegPrkID = "PsnRegPrkID";

            /// <summary>
            /// Nguoi dang ky BN
            /// </summary>
            public const string PsnRegName = "PsnRegName";

        }
        
        #endregion

        #region Req
        public class Req
        {
            /// <summary>
            /// ID Chung tu
            /// </summary>
            public const string VchID = "VchID";
            /// <summary>
            /// Loai chung tu
            /// </summary>
            public const string VchTypeID = "VchTypeID";
            /// <summary>
            /// Khoa yeu cau
            /// </summary>
            public const string DeptReqPrkID = "DeptReqPrkID";
            /// <summary>
            /// Khoa thuc hien
            /// </summary>
            public const string DeptPfrmPrkID = "DeptPfrmPrkID";
            /// <summary>
            /// Bac si yeu cau
            /// </summary>
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            /// <summary>
            /// Trang thai yeu cau
            /// </summary>
            public const string StatusReq = "StatusReq";
            /// <summary>
            /// Noi dung yeu cau
            /// </summary>
            public const string NoteReq = "NoteReq";

            /// <summary>
            /// Loai yeu cau. Tham chieu toi ReqTypes
            /// </summary>
            public const string ReqTypeID = "ReqTypeID";

            /// <summary>
            /// ID BN
            /// </summary>
            public const string PntPrkID = tagMdcFiles.Pnt.PntPrkID;
            /// <summary>
            /// So vao vien
            /// </summary>
            public const string HspInNum = tagMdcFiles.Pnt.HspInNum;
            /// <summary>
            /// ID Benh an
            /// </summary>
            public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;
        }

        #endregion
        #region TranDept
        public class TranDept
        {
            public const string TranDeptPrkID = "TranDeptPrkID"; 
            public const string VchDate = "VchDate";
            public const string TranDeptDateTime = "TranDeptDateTime";
            public const string VchTypeID = "VchTypeID"; 
            public const string VchName = "VchName"; 
            public const string VchNo = "VchNo";
            public const string OutsideExamPrkID = "OutsideExamPrkID";
            public const string MdcFilePrkID = "MdcFilePrkID"; 
            public const string PntPrkID = "PntPrkID"; 
            public const string HspInNum = "HspInNum"; 
            public const string DeptReqPrkID = "DeptReqPrkID"; 
            public const string DoctorReqPrkID = "DoctorReqPrkID";
            /// <summary>
            /// Tên bác sĩ yêu cầu.
            /// </summary>
            public const string DoctorReqName = "DoctorReqName";
            public const string DoctorPfmPrkID = "DoctorPfmPrkID"; 
            public const string StatusReq = "StatusReq"; 
            public const string ModeTrmtID = "ModeTrmtID"; 
            public const string VchOrgID = "VchOrgID";
            public const string VchOrgTypeID = "VchOrgTypeID";
            /// <summary>
            /// Khoa thuc hien.
            /// </summary>
            public const string DeptExamToPrkID = "DeptExamToPrkID";
            /// <summary>
            /// Tên khoa chuyển đến
            /// </summary>
            public const string DeptExamToName = "DeptExamToName";
            /// <summary>
            /// Khoa yeu cau.
            /// </summary>
            public const string DeptExamFromPrkID = "DeptExamFromPrkID";
            /// <summary>
            /// Tên khoa yêu cầu chuyển.
            /// </summary>
            public const string DeptExamFromName = "DeptExamFromName";
        }
        #endregion
    }
    #endregion

    #region Items
    public class tagItems
    {
        #region CapAss
        public class CapAss
        {
            public const string CapAssID = "CapAssID";
            public const string CapAssName = "CapAssName";
            public const string CapAssGrpPrkID = "CapAssGrpPrkID";
            public const string CapAssTypePrkID = "CapAssTypePrkID";
            public const string CapAssPrkID = "CapAssPrkID";
            public const string IsActive = "IsActive";
            public const string Quantity = "Quantity";
            public const string Price = "Price";
            public const string State = "State";
            public const string Serial = "Serial";
            public const string ProviderPrkID = "ProviderPrkID";
            public const string DeptPrkID = "DeptPrkID";
            public const string StaffPrkID = "StaffPrkID";
            public const string Warranty = "Warranty";
            public const string Describe = "Describe";       
        }
        #endregion
        #region CapAssGrp
        public class CapAssGrp
        {
            
            public const string CapAssGrpName = "CapAssGrpName";
            public const string CapAssGrpID = "CapAssGrpID";
            public const string CapAssGrpPrkID = "CapAssGrpPrkID";
            

        }
        #endregion
        #region CapAssType
        public class CapAssType
        {
            public const string CapAssTypePrkID = "CapAssTypePrkID";
            public const string CapAssTypeID = "CapAssTypeID";
            public const string CapAssTypeName = "CapAssTypeName";         
        }
        #endregion
        #region Department
        public class Department
        {
            public const string DeptPrkID = "DeptPrkID";
            public const string DeptID = "DeptID";
            public const string DeptName = "DeptName";

        }
        #endregion
        #region ProviderBss
        public class Provider
        {
            public const string ProviderPrkID = "ProviderPrkID";
            public const string ProviderID = "ProviderID";
            public const string ProviderName = "ProviderName";
            public const string ProviderAddr = "ProviderAddr";
            public const string ProviderPhone = "ProviderPhone";
            public const string ProviderEmail = "ProviderEmail";
            public const string ProviderDelegate = "ProviderDelegate";
            public const string IsActive = "IsActive";
            public const string Note = "Note";


        }
        #endregion
        #region Staff
        public class Staff
        {
            public const string StaffPrkID = "StaffPrkID";
            public const string StaffID = "StaffID";
            public const string StaffName = "StaffName";
            public const string StaffBirthday = "StaffBirthday";
            public const string SexID = "SexID";
            public const string CountryPrkID = "CountryPrkID";
            public const string StaffPlace = "StaffPlace";
            public const string StaffAddr = "StaffAddr";
            public const string StaffPhone = "StaffPhone";
            public const string StaffEmail = "StaffEmail";
            public const string StaffFunction = "StaffFunction";
            public const string StaffTypePrkID = "StaffTypePrkID";
            public const string DeptPrkID = "DeptPrkID";
            public const string DateStartWork = "DateStartWork";
            public const string DateStopWork = "DateStopWork";
            public const string Note = "Note";
            public const string IsActive = "IsActive";
            public const string StaffPosition = "StaffPosition";
            public const string DateInDang = "DateInDang";

        }
        #endregion
        #region StaffType
        public class StaffType
        {
            public const string StaffTypePrkID = "StaffTypePrkID";
            public const string StaffTypeID = "StaffTypeID";
            public const string StaffTypeName = "StaffTypeName";

        }
        #endregion
        #region Country
        public class Country
        {            
            public const string CountryPrkID = "CountryPrkID";
            public const string CountryID = "CountryID";
            public const string CountryName = "CountryName";
            public const string CountryNameEng = "CountryNameEng";
            public const string CountrySig = "CountrySig";
            public const string MasoQg = "MasoQg";
            public const string IsActive = "IsActive";
        }
        #endregion
        #region SexStaff
        public class SexStaff
        {
            public const string SexID = "SexID";
            public const string SexName = "SexName";
        }
        #endregion
        

        //
        //...
        //

        #region Common
        public class Common
        {
            public const string CollectionFields ="CollectionFields";
            public const string IsActive = tagCtrl.IsActive;
            public const string Note = "Note";
            public const string IsSystem = "IsSystem";
        }
         #endregion
        #region Item
         public class Item
        {
             /// <summary>
             /// ID Mat hang, chi phi
             /// </summary>
            public const string ItemPrkID = "ItemPrkID";
             /// <summary>
             /// ID public Ma hang, chi phi
             /// </summary>
            public const string ItemPubPrkID = "ItemPubPrkID";
             /// <summary>
             /// Ma hang, chi phi
             /// </summary>
            public const string ItemID = "ItemID";
             /// <summary>
             /// Ma nhom mat hang
             /// </summary>
            public const string ItemGrpID = "ItemGrpID";
             /// <summary>
             /// Ten mat hang
             /// </summary>
            public const string ItemName = "ItemName";
             /// <summary>
             /// Don vi tinh
             /// </summary>
            public const string Unit = "Unit";
             /// <summary>
             /// ID dinh danh ten goc(Danh cho cac mat hang thuoc)
             /// </summary>
            public const string ItemSncPrkID = "ItemSncPrkID";
             /// <summary>
             /// Mã quốc gia sản xuất.
             /// </summary>
            public const string CntPrdctPrkID = "CntPrdctPrkID";
             /// <summary>
             /// Nhà  sản xuất.
             /// </summary>
            public const string ProductName = "ProductName";
            /// <summary>
            /// Ma thuoc goc(Ma khoa hoc)
            /// </summary>
            public const string ItemSncID = "ItemSncID";
            /// <summary>
            /// Ten thuoc goc (Ten khoa hoc)
            /// </summary>
            public const string ItemSncName = "ItemSncName";

            /// <summary>
            /// ID Che do KCB cung cap dich vu nay. 
            /// </summary>
            public const string ItemFncStylePrkID = "ItemFncStylePrkID";
             /// <summary>
            /// Don gia duoc chon mac dinh
            /// </summary>
            public const string CheckedPrice = "CheckedPrice";
            
            /// <summary>
            /// Thuoc hang ngoai nhap hay ko
            /// </summary>
            public const string IsForeign = "IsForeign";

            /// <summary>
            /// Cong thuc tinh gia
            /// </summary>
            public const string FormulaPrice = "FormulaPrice";

             /// <summary>
             /// Xac dinh lay du lieu theo dieu kien trong danh sach
             /// </summary>
            public const string IsGetDataInList = "IsGetDataInList";

            /// <summary>
            /// Ngay cap nhat
            /// </summary>
             public const string DateUpdate = "DateUpdate";

          
             /// <summary>
             /// Nuoc san xuat
             /// </summary>
            public const string CntPrdctName = "CntPrdctName";
           
             /// <summary>
             /// Gia mua
             /// </summary>
            public const string PriceBuyInExc = "PriceBuyInExc";
           
             /// <summary>
             /// Gia ban
             /// </summary>
            public const string PriceSellInExc = "PriceSellInExc";

            public const string PriceSvcInExc = "PriceSvcInExc";

            public const string FmlrPriceSvc = "FmlrPriceSvc";
            
            public const string FmlrPriceSell = "FmlrPriceSell";            
         
             /// <summary>
             /// Tỉ lệ giá bán.
             /// </summary>
            public const string SellRate = "SellRate";

             /// <summary>
             /// Tỉ lệ giá dịch vụ.
             /// </summary>
            public const string SvcRate = "SvcRate";
             /// <summary>
             /// Gia dich vu 1
             /// </summary>
            public const string PriceSvc1InExc = "PriceSvc1InExc";
           
             /// <summary>
             /// Gia dich vu 2
             /// </summary>
            public const string PriceSvc2InExc = "PriceSvc2InExc";
            
             /// <summary>
             /// Xac dinh loai y te co dc bao hiem thanh toan khong
             /// </summary>
            public const string IsItemRdc = "IsItemRdc";
            
             /// <summary>
             /// Xac dinh day phai mat hang ton kho khong
             /// </summary>
            public const string IsItemInStock = "IsItemInStock";
            
             /// <summary>
             /// Xac dinh con su dung khong
             /// </summary>
            public const string IsActive = tagItems.Common.IsActive;
            
             /// <summary>
             /// Xac dinh co phai mat hang thuoc khong
             /// </summary>
            public const string IsDrug = "IsDrug";
            
             /// <summary>
             /// ID KHo
             /// </summary>
            public const string StorePrkID = tagItems.Store.StorePrkID;
            /// <summary>
            /// ID Nhom mat hang cha
            /// </summary>
            public const string ItemPrntGrpID = "ItemPrntGrpID";

             /// <summary>
             /// Xac dinh lay mat hang theo nhom bao gom ca nhom con
             /// </summary>
            public const string IsGetAllChildGrpItems = "IsGetAllChildGrpItems";

            /// <summary>
            /// Chuoi string chua danh sach nhom phi ngan cach boi dau ","
            /// </summary>
            public const string ListItemGrpID = "ListItemGrpID";

             /// <summary>
             /// Chua danh sach cac Field
             /// </summary>
            public const string ListFieldName = "ListFieldName";

            /// <summary>
             /// Loai phi.
             /// </summary>
            public const string ItemFeeTypeID = "ItemFeeTypeID";

             /// <summary>
             /// Ten loai Phi
             /// </summary>
            public const string ItemFeeTypeName = "ItemFeeTypeName";
             /// <summary>
             /// Loại phí dịch vụ BHYT quy dinh.
             /// </summary>
             public const string SvcInsTypeID = "SvcInsTypeID";
             /// <summary>
             /// Ma loại nhom mat hang
             /// </summary>
             public const string ItemGrpTypeID = "ItemGrpTypeID";
            /// <summary>
             /// Tên loại mặt hàng.
             /// </summary>
             public const string ItemGrpTypeName = "ItemGrpTypeName";
    
             /// <summary>
             /// Danh sach cac kieu nhom chi phi
             /// </summary>
             public const string ListItemGrpTypeID = "ListItemGrpTypeID";

             /// <summary>
             /// ID Nhom mat hang, chi phi
             /// </summary>
            public const string ItemGrpPrkID = "ItemGrpPrkID";
            
             /// <summary>
             /// Ten nhom mat hang, chi phi
             /// </summary>
            public const string ItemGrpName = "ItemGrpName";


            public const string Note = tagItems.Common.Note;

            public const string IsCodeControl = "IsCodeControl";

            public const string IsSystem = tagItems.Common.IsSystem;

            public const string EnumName = "EnumName";

  
        }
        #endregion
        #region RscFnc
        public class RscFnc
        {
            public const string RscFundsPrkID = "RscFundsPrkID";
            public const string RscFundsID = "RscFundsID";
            public const string RscFundsName = "RscFundsName";
            public const string RscObjFundsPrkID = "RscObjFundsPrkID";
            public const string RscFncPrkID = "RscFncPrkID";
            public const string RscFncPrentPrkID = "RscFncPrentPrkID";
            public const string RscFncID = "RscFncID";
            public const string AcntFundsID = "AcntFundsID";
            public const string AcntResultID = "AcntResultID";
            public const string RscFncTypeID = "RscFncTypeID";
            public const string RscFncTypeName = "RscFncTypeName";
            public const string RscFncName = "RscFncName";
            public const string IsSystem = "IsSystem";
            
            /// <summary>
            /// Nguon thu theo nguon ngan sach nha nuoc
            /// </summary>
            public const string RscFncRecNsPrkID = "RscFncRecNsPrkID";

            /// <summary>
            /// Nguon chi theo nguon ngan sach nha nuoc
            /// </summary>
            public const string RscFncRelsNsPrkID = "RscFncRelsNsPrkID";

            /// <summary>
            /// Nguon thu theo nguon co phan gop von
            /// </summary>
            public const string RscFncRecSvcPrkID = "RscFncRecSvcPrkID";

            /// <summary>
            /// Nguon kinh phi co phan gop von
            /// </summary>
            public const string RscFncRelsSvcPrkID = "RscFncRelsSvcPrkID";

            public const string IsRscFncInRdcObj = "IsRscFncInRdcObj";

            public const string RscRecNsPrkID = "RscRecNsPrkID";

            public const string RscRelsNsPrkID = "RscRelsNsPrkID";

            public const string RscRecSvcPrkID = "RscRecSvcPrkID";

            public const string RscRelsSvcPrkID = "RscRelsSvcPrkID";

            /// <summary>
            /// Tai khoan nguon kinh phi
            /// </summary>
            public const string AcntRscFncID = "AcntRscFncID";

            /// <summary>
            /// Tai khoan nguon thu
            /// </summary>
            public const string AcntRvnFncID = "AcntRvnFncID";
            public const string RscFncEnum = "RscFncEnum";
            public const string IsActive = tagCtrl.IsActive;
       // --------------- RscObj ---------------------
            
            /// <summary>
            /// Doi tuong von KCB
            /// </summary>
            public const string RscObjFncPrkID = "RscObjFncPrkID";
            public const string AcntRvnID = "AcntRvnID";
            public const string RscObjPrkID = "RscObjPrkID";
            public const string RscObjID = "RscObjID";
            public const string RscObjName = "RscObjName";
            public const string RscObjTypeID = "RscObjTypeID";
            // ----------------RscObjTypes --------------------
            public const string RscObjTypeName = "RscObjTypeName";

            // ----------------- RscExp ---------------------
            /// <summary>
            /// Khóa  nguồn thu.
            /// </summary>
            public const string RscExpPrkID = "RscExpPrkID";
            /// <summary>
            /// Mã nguồn thu
            /// </summary>
            public const string RscExpID = "RscExpID";
            /// <summary>
            /// Tên nguồn thu
            /// </summary>
            public const string RscExpName = "RscExpName";
            /// <summary>
            /// Mã tài khoản nguồn thu
            /// </summary>
            public const string AcntRscExpID = "AcntRscExpID";
            public const string RscObjExpPrkID = "RscObjExpPrkID";

            public const string IsPntPay = "IsPntPay";
        }
        #endregion
        #region Prvd
        public class Prvd
        {
            public const string PrvdPrkID = "PrvdPrkID";
            public const string PrvdID = "PrvdID";
            public const string PrvdName = "PrvdName";
            public const string PrvdAddr = "PrvdAddr";
            public const string PrvdPhone = "PrvdPhone";
            public const string PrvdEmail = "PrvdEmail";
            public const string PrvdDelegate = "PrvdDelegate";
            public const string IsActive = tagCtrl.IsActive;
            public const string Note = "Note";

        }
        #endregion
        #region Obj
        public class Obj
        {
            public const string ObjTypeID = "ObjTypeID";
            public const string ObjTypeEnum = "ObjTypeEnum";
            public const string ObjTypeName = "ObjTypeName";
             public const string ObjTypeGrpID = "ObjTypeGrpID";


            public const string ObjName = "ObjName";
            public const string ObjDelegate = "ObjDelegate";

            public const string ObjID = "ObjID";
            public const string ObjAddr = "ObjAddr";
            public const string ObjPrkID = "ObjPrkID";
           
            public const string IsActive = tagCtrl.IsActive;

            public const string TableContain = "TableContain";
        }
        #endregion
        #region RscObj
        public class RscObj
        {
            public const string RscObjPrkID = "RscObjPrkID";
            public const string RscObjID = "RscObjID";
            public const string RscObjName = "RscObjName";
            public const string RscObjTypeID = "RscObjTypeID";
            public const string IsActive = "IsActive";
         
        }
        #endregion
        #region Store
        public class Store
        {
            public const string StorePrkID = "StorePrkID";
            public const string StorePubPrkID = "StorePubPrkID";
            public const string StoreID = "StoreID";
            public const string StoreName = "StoreName";
            public const string Location = "Location";
            public const string StoreTypeID = "StoreTypeID";

            public const string ObjPrkID = "ObjPrkID";
            public const string ObjTypeID = "ObjTypeID";
            /// <summary>
            /// Che do KCB  
            /// </summary>
            public const string StoreFncStylePrkID = "StoreFncStylePrkID";

 
            public const string Note = "Note";
            
            public const string IsActive = "IsActive";
           
            public const string StoreTypeName = "StoreTypeName";
           
            public const string EnumStoreType = "EnumStoreType";
            /// <summary>
            /// Ma loai the kho
            /// </summary>
            public const string TagStoreTypeID = "TagStoreTypeID";

            /// <summary>
            /// Ten loai the kho
            /// </summary>
            public const string TagStoreTypeName = "TagStoreTypeName";

            /// <summary>
            /// Enum loai the kho
            /// </summary>
            public const string TagStoreTypeEnum = "TagStoreTypeEnum";

            /// <summary>
            /// Chua tap hop loai the kho
            /// </summary>
            public const string CollectionTagStoreTypes = "CollectionTagStoreTypes";

            /// <summary>
            /// Chua tap hop loai kho
            /// </summary>
            public const string CollectionStoreTypes = "CollectionStoreTypes";

            /// <summary>
            /// Loai nguon kinh phi
            /// </summary>
            public const string RscFncTypeID = tagItems.RscFnc.RscFncTypeID;

            /// <summary>
            /// ID Nguon kinh phi
            /// </summary>
            public const string RscFncPrkID = tagItems.RscFnc.RscFncPrkID;

            /// <summary>
            /// Ten Nguon kinh phi
            /// </summary>
            public const string RscFncName = tagItems.RscFnc.RscFncName;
        }
#endregion
        #region Dept
        public class Dept
        {
            public const string DeptPrkID = "DeptPrkID";
            public const string DeptPubPrkID = "DeptPubPrkID";
            public const string DeptID = "DeptID";
            public const string DeptName = "DeptName";
            public const string DeptFunc = "DeptFunc";
            public const string DeptTypeID = "DeptTypeID";
            public const string Note = "Note";
            public const string IsActive = "IsActive";
            public const string DeptSign = "DeptSign";
            public const string IsSystem = "IsSystem";

            /// <summary>
            /// ID che do KCB ap dung cho Khoa thuc hien
            /// </summary>
            public const string DeptFncStylePrkID = "DeptFncStylePrkID";

            public const string EnumDeptType = "EnumDeptType";
            public const string DeptTypeName = "DeptTypeName";
            public const string CollectionDeptType = "CollectionDeptType";

        }
        #endregion
        #region RdcIns
        public class RdcIns
        {

            public const string SvcInsTypeID = "SvcInsTypeID";
            public const string SvcInsTypeName = "SvcInsTypeName";
            public const string EnumName = "EnumName";
            public const string ListRdcObjIns = "ListRdcObjIns";
            public const string ListRdcInsLevel = "ListRdcInsLevel";
            public const string RankHsp = "RankHsp";
            public const string RdcObjRate = "RdcObjRate";
            public const string IsInsObj = "IsInsObj";
            public const string RdcObjInsPrkID = "RdcObjInsPrkID";
            public const string RdcObjInsID = "RdcObjInsID";
            public const string RdcInsLevel = "RdcInsLevel";
            public const string RdcObjInsName = "RdcObjInsName";
            public const string RdcObjInsNote = "RdcObjInsNote";
            public const string IsRdc = "IsRdc";
            public const string GrpInsNum = "GrpInsNum";
            public const string Note = "Note";
            public const string IsActive = "IsActive";
            public const string RdcHightSvcRate = "RdcHightSvcRate";
            public const string FmlrHighSv = "FmlrHighSv";
            public const string RdcTranferRate = "RdcTranferRate";
            public const string RdcCancerRate = "RdcCancerRate";
            public const string FmlrCancer = "FmlrCancer";
        }
        #endregion
        #region ObjRdc
        /// <summary>
        /// Loai doi tuong KCB
        /// </summary>
        public class RdcObj
        {
            public const string MdcFilePrkID = "MdcFilePrkID";
            public const string RdcObjPrkID = "RdcObjPrkID";
            public const string RdcObjID = "RdcObjID";
            public const string RdcObjName = "RdcObjName";
            public const string RdcObjRate = "RdcObjRate";
            public const string Note = "Note";
            public const string DateUpdate = "DateUpdate";
            public const string IsActive = tagCtrl.IsActive;
            public const string RscFncRecPrkID = "RscFncRecPrkID";
            public const string RscFncRecID = "RscFncRecID";
            public const string RscFncRecName = "RscFncRecName";
            public const string RscFncRelsPrkID = "RscFncRelsPrkID";
            public const string RscFncRelsID = "RscFncRelsID";
            public const string RscFncRelsName = "RscFncRelsName";
            public const string FormulaRdcRate = "FormulaRdcRate";
            public const string IsMngCard = "IsMngCard";
            /// <summary>
            /// Danh sach ma the theo che do BHYT
            /// </summary>
            public const string ListRdcObjIns = "ListRdcObjIns";
           

            /// <summary>
            /// ID ma doi tuong tham gia BHYT.
            /// </summary>
            public const string RdcObjInsPrkID = "RdcObjInsPrkID";

            /// <summary>
            /// Ma doi tuong tham gia BHYT
            /// </summary>
            public const string RdcObjInsID = "RdcObjInsID";

            /// <summary>
            /// Ten doi tuong tham gia BHYT
            /// </summary>
            public const string RdcObjInsName = "RdcObjInsName";
            /// <summary>
            ///Ghi chu doi tuong tham gia BHYT
            /// </summary>
            public const string RdcObjInsNote = "RdcObjGrpNote";
            
            /// <summary>
            /// Ma nhom mien giam theo che do BHYT
            /// </summary>
            public const string GrpInsNum = "GrpInsNum";

            /// <summary>
            /// Xac dinh co phai doi tuong tham gia BHYT
            /// </summary>
            public const string IsInsObj = "IsInsObj";

            public const string IsRdc = "IsRdc";

            
 

        }
#endregion
        #region Station
        public class Station
        {
            /// <summary>
            /// ID Tram y te
            /// </summary>
            public const string MdcStnPrkID = "MdcStnPrkID";

            /// <summary>
            /// Ma tram
            /// </summary>
            public const string MdcStnID = "MdcStnID";

            /// <summary>
            /// Ten tram
            /// </summary>
            public const string MdcStnName = "MdcStnName";

            /// <summary>
            /// Dia chi
            /// </summary>
            public const string MdcStnAddr = "MdcStnAddr";

            /// <summary>
            /// Ten tram
            /// </summary>
            public const string MdcStnNote = "MdcStnNote";
            public const string IsActive = tagCtrl.IsActive;
        }
        #endregion
        #region Psn
        /// <summary>
        /// Personnel
        /// </summary>
        public class Psn
        {
            public const string PsnPrkID = "PsnPrkID";
            public const string PsnID = "PsnID";
            public const string PsnName = "PsnName";
            public const string PsnBirthday = "PsnBirthday";
            public const string PsnSexID = "PsnSexID";
            public const string PsnPlace = "PsnPlace";
            public const string PsnRaceID = "PsnRaceID";
            public const string PsnRacePrkID = "PsnRacePrkID";

            public const string PsnAddr = "PsnAddr";
            public const string PsnCountryID = "PsnCountryID";
            public const string PsnCountryPrkID = "PsnCountryPrkID";

            public const string PsnFunction = "PsnFunction";
            public const string PsnPhone = "PsnPhone";
            public const string PsnEmail = "PsnEmail";
            public const string PsnTypeID = "PsnTypeID";
            public const string PsnTypeEnum = "PsnTypeEnum";
            public const string PsnTypeName = "PsnTypeName";
            public const string DateStartWork = "DateStartWork";
            public const string DateStopWork = "DateStopWork";
            public const string CollectionPsnType = "CollectionPsnType";
            public const string IsActive = tagCtrl.IsActive;
            public const string Note = "Note";
            public const string DeptPrkID = "DeptPrkID";
        }
        #endregion
        #region DmTypesName
        public class DmTypesName
        {
            public const string DmID = "DmID";
            public const string DmName = "DmName";
            public const string DmTypeEnum = "DmTypeEnum";
        }
        #endregion

        #region EnumStatusReq
        public class EnumStatusReq
        {
            public const string StatusReqID = "StatusReqID";
            public const string StatusReqName = "StatusReqName";
            public const string StatusReqEnum = "StatusReqEnum";
        }
        
        #endregion
   
        #region Hospital
        public class Hospital
        {
            public const string HspPrkID = "HspPrkID";
            public const string Ma_bv = "Ma_bv";
            public const string Ten_bv = "Ten_bv";
            public const string Ma_huyen = "Ma_huyen";
            public const string Ma_tinh = "Ma_tinh";
            public const string Ma_xa = "Ma_xa";
            public const string Tuyen_bv = "Tuyen_bv";
            public const string Hang_bv = "Hang_bv";
            public const string Loai_bv = "Loai_bv";
            public const string Hop_dong = "Hop_dong";
            public const string Thanh_toan = "Thanh_toan";
            public const string Danh_dau = "Danh_dau";
            public const string Dia_chi = "Dia_chi";
            public const string Dien_giai = "Dien_giai";
            public const string Ma_captren = "Ma_captren";
            public const string Lay_tu_dmh = "Lay_tu_dmh";
            public const string Tinh_cu = "Tinh_cu";
            public const string Huyen_cu = "Huyen_cu";
            public const string Bv_cu = "Bv_cu";
            public const string User_code = "User_code";
            public const string Date_update = "Date_update";
            
            public const string HspPhone = "HspPhone";
            public const string Matuyen_mds = "Matuyen_Mds";
            public const string Maloai_mds = "Maloai_mds";
            public const string Mahang_mds = "Mahang_mds";
            public const string Mavung_mds = "Mavung_mds";
            public const string Matinh_mds = "Matinh_mds";
            public const string IsActive = tagCtrl.IsActive;
            public const string HspInsCode = "HspInsCode";
        }
        #endregion

        #region Countries
        public class Countries
        {
            public const string CountryPrkID = "CountryPrkID";
            public const string CountryID = "CountryID";
            public const string CountryName = "CountryName";
            public const string CountryNameEng = "CountryNameEng";
            public const string CountrySig = "CountrySig";
            public const string MasoQg = "MasoQg";
            public const string IsActive = tagCtrl.IsActive;
        }
        #endregion
        
        #region Province
                public class Province
                {
                    public const string ProvincePrkID = "ProvincePrkID";
                    public const string ProvinceID = "ProvinceID";
                    public const string ItemPubPrkID = "ItemPubPrkID";
                    public const string ProvinceName = "ProvinceName";
                    public const string ProvinceRegion = "ProvinceRegion";
                    public const string IsActive = tagCtrl.IsActive;
                }
        #endregion
        
        #region District
                public class District
                {
                    public const string DistrictPrkID = "DistrictPrkID";
                    public const string DistrictID = "DistrictID";
                    public const string ProvinceID = "ProvinceID";
                    public const string DistrictName = "DistrictName";
                    public const string IsActive = tagCtrl.IsActive;
                }
        #endregion 
        
        #region TownWard
                public class TownWard
                {
                    public const string TownWardPrkID = "TownWardPrkID";
                    public const string TownWardID = "TownWardID";
                    public const string DistrictID = "DistrictID";
                    public const string TownWardName = "TownWardName";
                    public const string TownWardSig = "TownWardSig";
                    public const string IsActive = "IsActive";
                }
        #endregion
        
        #region Race
                public class Race
                {
                    public const string RacePrkID = "RacePrkID";
                    public const string RaceID = "RaceID";
                    public const string RaceName = "RaceName";
                    public const string IsActive = tagCtrl.IsActive;
                }
        #endregion
        
        #region JobGrp
                public class JobGrp
                {
                    public const string JobGrpPrkID = "JobGrpPrkID";
                    public const string JobGrpID = "JobGrpID";
                    public const string JobGrpName = "JobGrpName";
                    public const string Mannbo = "MANNBO";
                    public const string IsActive = tagCtrl.IsActive;

                }
        #endregion

                #region Sex
                public class Sex
                {
                    public const string SexID = "SexID";
                    public const string SexName = "SexName";
                }
                #endregion

        #region Relation
                public class Relation
                {
                    public const string RelationID = "RelationID";
                    public const string RelationName = "RelationName";
                }
                #endregion
        #region Animals
                public class Animals
                {
                    public const string AnimalsID = "AnimalsID";
                    public const string AnimalsName = "AnimalsName";
                }
                #endregion
        #region RptList
                public class RptList
                {
                    public const string RptPrkID = "RptPrkID";
                    public const string VchTypeID = "VchTypeID";
                    public const string RptName = "RptName";
                    public const string RptGrpID = "RptGrpID";
                    public const string RdlcRptFile = "RdlcRptFile";
                    public const string XslRptFile = "XslRptFile";
                    public const string AssemblyName = "AssemblyName";
                    public const string NameSpaceName = "NameSpaceName";
                    public const string ClassName = "ClassName";

                    public const string ItemLine = "ItemLine";
                    public const string FieldParamCaption = "FieldParamCaption";
                    public const string DataType = "DataType";
                    public const string IsRefTable = "IsRefTable";
                    public const string TableName = "TableName";
                    public const string ListFieldTable = "ListFieldTable";
                    public const string ListFieldDisplayName = "ListFieldDisplayName";
                    public const string ListMapFieldParamRpt = "ListMapFieldParamRpt";
                    public const string ValueDefault = "ValueDefault";
                    public const string FieldMember = "FieldMember";
                    public const string ListParamFilter = "ListParamFilter";
                    public const string StringFilter = "StringFilter";

                }
        #endregion
        #region RptParams
                public class RptParams
                {
                    public const string RptPrkID = "RptPrkID";
                    public const string ItemLine = "ItemLine";
                    public const string FieldParamCaption = "FieldParamCaption";
                    public const string DataType = "DataType";
                    public const string IsRefTable = "IsRefTable";
                    public const string TableName = "TableName";
                    public const string ListFieldTable = "ListFieldTable";
                    public const string ListFieldDisplayName = "ListFieldDisplayName";
                    public const string ListMapFieldParamRpt = "ListMapFieldParamRpt";
                    public const string ValueDefault = "ValueDefault";
                    public const string FieldMember = "FieldMember";
                    public const string ListParamFilter = "ListParamFilter";
                    public const string StringFilter = "StringFilter";

                }
                #endregion        
        #region RptGrp
                public class RptGrp
                {
                    public const string RptGrpPrkID = "RptGrpPrkID";
                    public const string RptGrpID = "RptGrpID";
                    public const string RptGrpName = "RptGrpName";
                    public const string RptGrpPrntID = "RptGrpPrntID";

                }
                #endregion        
        #region Icd
                public class Icd
                {
                    public const string Icd10ID = "Icd10ID";
                    public const string IcdName = "IcdName";
                    public const string Id_Chapter = "Id_Chapter";
                    public const string IcdNameEng = "IcdNameEng";
                    public const string Id_Nhom = "Id_Nhom";
                    public const string Loai = "Loai";
                    public const string Manh = "Manh";
                    public const string Stt = "Stt";
                    public const string Readonly = "Readonly";
                    public const string IsActive = "IsActive";
                    public const string Icd10PrkID = "Icd10PrkID";
                    public const string NhomName = "NhomName";

                }
        #endregion
        
        #region UnitAge
    public class Age
    {
        public const string UnitAgeID = "UnitAgeID";
        public const string UnitAgeName = "UnitAgeName";
    }
     #endregion
        
        #region ItemCheck
    public class ItemCheck
    {
        /// <summary>
        /// Loai tuyen chuyen vien
        /// </summary>
        public const string TranTypeID = "TranTypeID";
        
        /// <summary>
        /// Ten loai tuyen chuyen vien
        /// </summary>
        public const string TranTypeName = "TranTypeName";

        /// <summary>
        /// Ten thuoc tinh Enum
        /// </summary>
        public const string EnumName = "EnumName";

      
        /// <summary>
        /// ID noi gioi thieu
        /// </summary>
        public const string NgtID = "NgtID";
        /// <summary>
        /// Ten noi gioi thieu
        /// </summary>
        public const string NgtName = "NgtName";

        /// <summary>
        /// Ket qua dieu tri
        /// </summary>
        public const string KqdtID = "KqdtID";
        /// <summary>
        /// Ten ket qua dieu tri
        /// </summary>
        public const string KqdtName = "KqdtName";

        /// <summary>
        /// Id Ra vien
        /// </summary>
        public const string RvID = "RvID";
        /// <summary>
        /// Ten ra vien
        /// </summary>
        public const string RvName = "RvName";
        /// <summary>
        /// Xu tri kham benh
        /// </summary>
        public const string GuideTrmntID = "GuideTrmntID";
        /// <summary>
        /// Ten xu tri kham benh
        /// </summary>
        public const string GuideTrmntName = "GuideTrmntName"; 
        /// <summary>
        /// ID benh
        /// </summary>
        public const string IsPainID = "IsPainID";
        /// <summary>
        /// Ten benh
        /// </summary>
        public const string IsPainName = "IsPainName";
        /// <summary>
        /// ID loai benh
        /// </summary>
        public const string PainTypeID = "PainTypeID";
        /// <summary>
        /// Ten loai benh
        /// </summary>
        public const string PainTypeName = "PainTypeName";

        /// <summary>
        /// ID Nguyen Nhan
        /// </summary>
        public const string CausePrkID = "CausePrkID";
        
        /// <summary>
        /// Nguyen Nhan
        /// </summary>
        public const string CauseName = "CauseName";
        
        /// <summary>
        /// ID Xu tri sau tai nan
        /// </summary>
        public const string DisciplinePrkID = "DisciplinePrkID";
        
        /// <summary>
        /// Xu tri sau tai nan
        /// </summary>
        public const string DisciplineName = "DisciplineName";
        
        /// <summary>
        /// ID Dien bien sau tai nan
        /// </summary>
        public const string HappenPrkID = "HappenPrkID";
        
        /// <summary>
        /// Dien bien sau tai nan
        /// </summary>
        public const string HappenName = "HappenName";
        
        /// <summary>
        /// ID Dia diem xay ra
        /// </summary>
        public const string LocationPrkID = "LocationPrkID";
        
        /// <summary>
        /// Dia diem xay ra
        /// </summary>
        public const string LocationName = "LocationName";
        
        /// <summary>
        /// ID Bộ phận bị thương
        /// </summary>
        public const string InjurePrkID = "InjurePrkID";
        
        /// <summary>
        /// Bộ phận bị thương
        /// </summary>
        public const string InjureName = "InjureName";
        
        /// <summary>
        /// ID Ngộ độc
        /// </summary>
        public const string PoisonPrkID = "PoisonPrkID";
        
        /// <summary>
        /// Ngộ độc
        /// </summary>
        public const string PoisonName = "PoisonName";
    }
    #endregion    
        
        #region Acnt
        public class Acnt
    {
        // Dm_AtbObjFnc
        public const string AtbObjFncPrkID = "AtbObjFncPrkID";
        public const string AtbObjFncID = "AtbObjFncID";
        public const string AtbObjFncName = "AtbObjFncName";
        public const string IsSystem = "IsSystem";
        public const string IsActive = "IsActive";

        // Dm_CureStyles
        public const string CureStyleID = "CureStyleID";
        public const string CureStyleName = "CureStyleName";
        public const string CureStyleEnum = "CureStyleEnum";

        // Dm_FeeTypes
        public const string FeeTypeName = "FeeTypeName";
        public const string FeeTypeID = "FeeTypeID";
    }
        #endregion                
       
        #region DmServiceTypes
        public class ServiceTypes
        {
            public const string ServiceTypesPrkID = "ServiceTypesPrkID";
            public const string ServiceTypesName = "ServiceTypesName";
            public const string ServiceTypesEnum = "ServiceTypesEnum";
            public const string IsActive = "IsActive";
        }
        #endregion
        
        #region DmService
        public class SvcExam
        {
            public const string SvcExamPrkID = "SvcExamPrkID";
            public const string SvcExamID = "SvcExamID";
            public const string ItemPrkID = "ItemPrkID";
            public const string SvcExamGrpPrkID = "SvcExamGrpPrkID";
            public const string SvcExamGrpID = "SvcExamGrpID";
            public const string SvcExamGrpName = "SvcExamGrpName";
            public const string SvcExamGrpPrntID = "SvcExamGrpPrntID"; 
            public const string ItemFeeTypeID = tagItems.Item.ItemFeeTypeID;
            public const string SvcExamName = "SvcExamName";
            public const string Unit = "Unit";
            public const string DateUpdate = "DateUpdate";
            public const string Note = "Note";
            public const string IsActive = "IsActive";
            /// <summary>
            /// Xac dinh day la phi thanh toan hay vat tu tieu hao trong thuc hien dich vu.
            /// </summary>
            public const string SvcExamFeeTypeID = "SvcExamFeeTypeID";
        }
        #endregion        
        #region UnitItems
        public class UnitItems
        {
            public const string UnitPrkID = "UnitPrkID";
            public const string UnitID = "UnitID";
            public const string UnitName = "UnitName";
            public const string IsActive = "IsActive";
        }
        #endregion
        #region PntIns
        public class PntIns
        {
            public const string MATINH = "MATINH";
            public const string MAHUYEN = "MAHUYEN";
            public const string MAXA = "MAXA";
            public const string MATHON = "MATHON";
            public const string MADVI = "MADVI";
            public const string MADONVI = "MADONVI";
            public const string TINH_KCB = "TINH_KCB";
            public const string MA_KCB = "MA_KCB";
            public const string MATHE = "MATHE";
            public const string MA_DT = "MA_DT";
            public const string HOTEN = "HOTEN";
            public const string NGAYSINH = "NGAYSINH";
            public const string NAMSINH = "NAMSINH";
            public const string GIOITINH = "GIOITINH";
            public const string SOSOBHXH = "SOSOBHXH";
            public const string DIA_CHI = "DIA_CHI";
            public const string NGHE_NGHIE = "NGHE_NGHIE";
            public const string HS_LUONG = "HS_LUONG";
            public const string TIENLUONG = "TIENLUONG";
            public const string TIENDONG = "TIENDONG";
            public const string GTRI_TU = "GTRI_TU";
            public const string GTRI_DEN = "GTRI_DEN";
            public const string NGAY_G1 = "NGAY_G1";
            public const string NGAY_G2 = "NGAY_G2";
            public const string NGAY_G3 = "NGAY_G3";
            public const string CCNS = "CCNS";

        }
        #endregion
       public class SysUser
        {
            public const string UserGrpID = "UserGrpID";
            public const string Note = "Note";
            public const string IsAccRight = "IsAccRight";
            public const string IsAdd = "IsAdd";
            public const string IsEdit = "IsEdit";
            public const string IsDelete = "IsDelete";
            public const string IsPrint = "IsPrint";
            public const string IsShow = "IsShow";
            public const string ModuleID = "ModuleID";
            public const string IsSystem = "IsSystem";
            public const string UserName = "UserName";
            public const string PsnPrkID = "PsnPrkID";
            public const string UserPassword = "UserPassword";
            public const string DateRegister = "DateRegister";
            public const string IsActive = "IsActive";
        }
  public class FncYears
       {
           public const string YearID = "YearID";
           public const string BeginFncDate = "BeginFncDate";
           public const string EndFncDate = "EndFncDate";
           public const string IsActive = "IsActive";
       }
    }
#endregion
    
    #region Acnt
    public class tagAcnt
    {
        public const string JEHEADER = "JEHEADER";
        
        public const string JELINES = "JELINES";

        public const string ACNTJRN = "ACNTJRN";

        public const string LINE = "LINE";
        
        public const string ROW = "ROW";

        public const string ACNTDEBIT = "ACNTDEBIT";

        public const string ACNTCREDIT = "ACNTCREDIT";

        /// <summary>
        /// Elm chua thong tin TK doi ung
        /// </summary>
        public const string ACNTCRSP = "ACNTCRSP";
        /// <summary>
        /// Elm chua thong tin doi tuong cua TK
        /// </summary>
        public const string ACNTATRB = "ACNTATRB";

        public const string ACNTGRPS = "ACNTGRPS";

        public const string ACNTATRBINFO = "ACNTATRBINFO";
        /// <summary>
        /// ID Table ghi TK
        /// </summary>
        public const string AcntJrnPrkID = "AcntJrnPrkID";
        
        /// <summary>
        /// Dong TK
        /// </summary>
        public const string AcntIndex = "AcntIndex";
        
        /// <summary>
        /// Ngay CT
        /// </summary>
        public const string VchDate = "VchDate";

        /// <summary>
        /// Ma TK
        /// </summary>
        public const string AcntID = "AcntID";
        /// <summary>
        /// Ten TK
        /// </summary>
        public const string AcntName = "AcntName";

        /// <summary>
        /// Ma loai TK
        /// </summary>
        public const string AcntTypeID = "AcntTypeID";

        /// <summary>
        /// Ghi chu
        /// </summary>
        public const string AcntNote = "AcntNote";

        public const string IsActive = "IsActive";
        
        /// <summary>
        /// Ma TK cha
        /// </summary>
        public const string AcntParentID = "AcntParentID";

        /// <summary>
        /// Ten loai TK
        /// </summary>
        public const string AcntTypeName = "AcntTypeName";
        
        /// <summary>
        /// Xac dinh TK no hay co
        /// </summary>
        public const string DrCr = "DrCr";
        
        /// <summary>
        /// Ma nhom TK
        /// </summary>
        public const string AcntGrpID = "AcntGrpID";

        /// <summary>
        /// Phuong thuc ghi TK. Ghi No hay ghi Co. Gia tri lay trong Enum MethodWriteAcnts
        /// </summary>
        public const string MethodWriteAcnt = "MethodWriteAcnt";

        
        public const string AcntGrpNameEng = "AcntGrpNameEng";
       
        public const string AcntGrpName = "AcntGrpName";

        public const string FieldRefName = "FieldRefName";

        public const string ListAcntAtrbPrkID = "ListAcntAtrbPrkID";

        public const string ListAcntID = "ListAcntID";

        
        /// <summary>
        /// Ten thuoc tinh theo gioi TK
        /// </summary>
        public const string AcntArtbName = "AcntArtbName";
        
        public const string IsKey = "IsKey";
        
        public const string DataType = "DataType";
        
        public const string TableRefName = "TableRefName";
        /// <summary>
        /// TK nguon chi
        /// </summary>
        public const string AcntRscFncRelsID = "AcntRscFncRelsID";

        /// <summary>
        /// TK nguon thu
        /// </summary>
        public const string AcntRscFncRecID = "AcntRscFncRecID";
        /// <summary>
        /// TK Nguon kinh phi
        /// </summary>
        public const string AcntRscFncID = "AcntRscFncID";
        
        /// <summary>
        /// Khoan tien ghi co
        /// </summary>
        public const string AmtCrdInExc = "AmtCrdInExc";
        
        /// <summary>
        /// Khoan tien ghi no
        /// </summary>
        public const string AmtDrbInExc = "AmtDrbInExc";
        
        /// <summary>
        /// Khoan tien
        /// </summary>
        public const string AmtLineInExc = "AmtLineInExc";
        
        /// <summary>
        /// So tien doi ung
        /// </summary>
        public const string AmtLineCspInExc = "AmtLineCspInExc";
        
        /// <summary>
        /// So du TK theo BN
        /// </summary>
        public const string AmtBlcPntInExc = "AmtBlcPntInExc";
        
        /// <summary>
        /// So du TK 
        /// </summary>
        public const string AmtBlcInExc = "AmtBlcInExc";
        
        /// <summary>
        /// Ma TK doi ung
        /// </summary>
        public const string AcntCspID = "AcntCspID";
        
        /// <summary>
        /// ID Loai doi tuong
        /// </summary>
        public const string ObjTypePrkID = "ObjTypePrkID";
        
        /// <summary>
        /// ID Doi tuong
        /// </summary>
        public const string ObjPrkID = "ObjPrkID";
        
        /// <summary>
        /// ID Benh nhan
        /// </summary>
        public const string PntPrkID = "PntPrkID";
        
        public const string MdcFilePrkID = tagMdcFiles.MdcFiles.MdcFilePrkID;

        /// <summary>
        /// Ma vao vien
        /// </summary>
        public const string HspInNum = "HspInNum";

        public const string AcntStyle = "AcntStyle";

        /// <summary>
        /// ID Y te
        /// </summary>
        public const string ItemPrkID = "ItemPrkID";

        /// <summary>
        /// Id thuoc tinh doi tuong tai khoan
        /// </summary>
        public const string AcntAtrbPrkID = "AcntAtrbPrkID";

        /// <summary>
        /// Ma thuoc tinh tai khoan
        /// </summary>
        public const string AcntAtrbID	= "AcntAtrbID";
        
        /// <summary>
        /// Ten thuoc tinh tai khoan
        /// </summary>
        public const string AcntAtrbName	= "AcntAtrbName";
        
        
        /// <summary>
        /// Xac dinh cho phep thuoc tinh  co the null khi dinh khoan
        /// </summary>
        public const string IsAllowNull	= "IsAllowNull";

        /// <summary>
        /// Field mac dinh lay du lieu khi dinh khoan
        /// </summary>
        public const string FieldName = "FieldName";

        public const string VchNo = tagVch.Common.VchNo;

        public const string VchName = tagVch.Common.VchName;

        public const string VchOrgID = tagVch.Common.VchOrgID;

        public const string VchOrgTypeID = tagVch.Common.VchOrgTypeID; 
       
        public const string Value = "Value";
        
        public const string XmlAcntCsp = "XmlAcntCsp";
        
        public const string XmlAcntAtrb = "XmlAcntAtrb";
        
        public const string ListAcntCsp = "ListAcntCsp";

        public const string FncStylePrkID = "FncStylePrkID";
        
        public const string PriceCostTypeID = "PriceCostTypeID";
        public const string PriceCostName = "PriceCostName";
        /// <summary>
        /// Nguon von KCB
        /// </summary>
        public const string RscFncPrkID = "RscFncPrkID";
        
        /// <summary>
        /// Nguon quy KCB
        /// </summary>
        public const string RscFundsPrkID = "RscFundsPrkID";
        public const string RscObjFundsPrkID = "RscObjFundsPrkID";

        /// <summary>
        /// Tk Quy KCB
        /// </summary>
        public const string AcntRscFundsID = "AcntRscFundsID";

        /// <summary>
        /// Doi tuong mien giam
        /// </summary>
        public const string RdcObjPrkID = "RdcObjPrkID";
        /// <summary>
        /// Don gia
        /// </summary>
        public const string PriceInExc = "PriceInExc";
        /// <summary>
        /// TK Doanh thu
        /// </summary>
        public const string AcntRvnID = "AcntRvnID";
        
        /// <summary>
        /// Loai Che do KCB
        /// </summary>
        public const string FncStyleTypeID = "FncStyleTypeID";
        
        /// <summary>
        /// Ten che do KCB
        /// </summary>
        public const string FncStyleName = "FncStyleName";
        /// <summary>
        /// Ma nguon von
        /// </summary>
        public const string RscFncID = "RscFncID";
        /// <summary>
        /// Ma doi tuong nguon von
        /// </summary>
        public const string RscObjFncID = "RscObjFncID";
        /// <summary>
        /// Ten doi tuong nguon von
        /// </summary>
        public const string RscObjFncName = "RscObjFncName";
        /// <summary>
        /// Ma doi tuong nguon quy KCB
        /// </summary>
        public const string RscObjFundsID = "RscObjFundsID";
        /// <summary>
        /// Ten doi tuong nguon quy
        /// </summary>
        public const string RscObjFundsName = "RscObjFundsName";

        /// <summary>
        /// Ten nguon von
        /// </summary>
        public const string RscFncName = "RscFncName";
        /// <summary>
        /// ID doi tuong nguon von
        /// </summary>
        public const string RscObjFncPrkID = "RscObjFncPrkID";
        /// <summary>
        /// Ten nguon quy KCB
        /// </summary>
        public const string RscFundsName = "RscFundsName";
        /// <summary>
        /// Ma nguon quy KCB
        /// </summary>
        public const string RscFundsID = "RscFundsID";
           
        public const string Quantity = "Quantity";
        
        public const string StorePrkID = "StorePrkID";

        /// <summary>
        /// Loai hach toan. Thong tin loai hach toan duoc luu trong Enum AcntPrcsTypes
        /// </summary>
        public const string AcntPcsType = "AcntPcsType";
        
        public const string Note = "Note";
        #region AcntAtrb
        public class AcntAtrb
        {
            public const string AcntArtbPrkID = "AcntArtbPrkID";
            public const string AcntArtbID = "AcntArtbID";
            public const string AcntArtbName = "AcntArtbName";
            public const string AcntID = "AcntID";
        }
        #endregion
        #region AcntAtrbObj
        public class AcntAtrbObj
        {
            public const string AcntAtrbPrkID = "AcntAtrbPrkID";
            public const string FieldID = "FieldID";
            public const string ValueField = "ValueField";
            public const string TableRef = "TableRef";
            public const string FieldRef = "FieldRef";
            public const string IsKey = "IsKey";
            public const string QueryString = "QueryString";
        }
        #endregion
        #region AcntCoa
        public class AcntCoa
        {
            public const string AcntPrkID = "AcntPrkID";
            public const string AcntID = "AcntID";
            public const string AcntName = "AcntName";
            public const string AcntTypeID = "AcntTypeID";
            public const string IsActive = "IsActive";
            public const string AcntParentID = "AcntParentID";
            public const string AcntNote = "AcntNote";
            public const string TableRef = "TableRef";
            public const string ListAcntAtrbPrkID = "ListAcntAtrbPrkID";
            // Dm_AtbObjFnc
            public const string AtbObjFncPrkID = "AtbObjFncPrkID";
            public const string AtbObjFncID = "AtbObjFncID";
            public const string AtbObjFncName = "AtbObjFncName";
            public const string IsSystem = "IsSystem";

            // Dm_CureStyles
            public const string CureStyleID = "CureStyleID";
            public const string CureStyleName = "CureStyleName";
            public const string CureStyleEnum = "CureStyleEnum";

            // Dm_FeeTypes
            public const string FeeTypeName = "FeeTypeName";
            public const string FeeTypeID = "FeeTypeID";
   
        }
        #endregion
        #region AcntCoaAtrb
        public class AcntCoaAtrb
        {
            public const string AcntID = "AcntID";
            public const string AcntAtrbPrkID = "AcntAtrbPrkID";
        }
        #endregion
        #region AcntTypes
        public class AcntTypes
        {
            public const string AcntTypeID = "AcntTypeID";
            public const string AcntTypeName = "AcntTypeName";
            public const string DrCr = "DrCr";
            public const string AcntGrpID = "AcntGrpID";
            public const string AcntGrpNameEng = "AcntGrpNameEng";
            public const string AcntGrpName = "AcntGrpName";
        }
        #endregion
    }
    #endregion
    
    #region  ReqInfo
    public class tagReq
    {
        /// <summary>
        /// ID phieu goc
        /// </summary>
        public const string VchOrgID = "VchOrgID";

        /// <summary>
        /// Loai chung tu goc
        /// </summary>
        public const string VchOrgTypeID = "VchOrgTypeID";

        /// <summary>
        /// Ma loai phieu
        /// </summary>
        public const string VchTypeID = "VchTypeID";
        /// <summary>
        /// Loai yeu cau
        /// </summary>
        public const string ReqTypeID = "ReqTypeID";
        /// <summary>
        /// Id Benh nhan
        /// </summary>
        public const string PntPrkID = "PntPrkID";
        /// <summary>
        /// Id Benh an
        /// </summary>
        public const string MdcFilePrkID = "MdcFilePrkID";
        /// <summary>
        /// So vao vien
        /// </summary>
        public const string HspInNum = "HspInNum";
        /// <summary>
        /// Id Khoa yeu cau
        /// </summary>
        public const string DeptReqPrkID = "DeptReqPrkID";
        /// <summary>
        /// Id Khoa thuc hien
        /// </summary>
        public const string DeptPfrmPrkID = "DeptPfrmPrkID";
        /// <summary>
        /// Id Bs yeu cau
        /// </summary>
        public const string DoctorReqPrkID = "DoctorReqPrkID";
        /// <summary>
        /// Trang thai yeu cau
        /// </summary>
        public const string StatusReq = "StatusReq";
        /// <summary>
        /// Ten Bs yeu cau
        /// </summary>
        public const string DoctorReqName = "DoctorReqName";
        /// <summary>
        /// Ten khoa thuc hien
        /// </summary>
        public const string DeptPfmName = "DeptPfmName";
        /// <summary>
        /// Ten khoa yeu cau
        /// </summary>
        public const string DeptReqName = "DeptReqName";
        /// <summary>
        /// Noi dung yeu cau
        /// </summary>
        public const string ContentReq = "ContentReq";
    }
    #endregion
    #region Fnc
    public class tagFnc
    {
        public class FncStyle
        {
            public const string FncStylePrkID = "FncStylePrkID";
            public const string FncStyleID = "FncStyleID";
            public const string FncStyleTypeID = "FncStyleTypeID";
            public const string FncStyleName = "FncStyleName";
            public const string IsActive = "IsActive";
            public const string IsReadOnly = "IsReadOnly";
            public const string PriceCostTypeID = "PriceCostTypeID";
            public const string RscFncPrkID = "RscFncPrkID";
            public const string RscFundsPrkID = "RscFundsPrkID";
            public const string AcntRvnID = "AcntRvnID";
            public const string RscObjFundsPrkID = "RscObjFundsPrkID";
            public const string RscObjFncPrkID = "RscObjFncPrkID";
            public const string AcntRscFundsID = "AcntRscFundsID";
            public const string AcntRscFncID = "AcntRscFncID";
            public const string ExpTypeID = "ExpTypeID";
            public const string AcntDrdExpID = "AcntDrdExpID";
            public const string AcntCrdID = "AcntCrdID";
        }
    }
    #endregion
}
